mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Add miniature quick actions to add video to Watch later playlist
This commit is contained in:
parent
cca1e13b96
commit
29128b2f5c
13 changed files with 184 additions and 17 deletions
|
@ -128,7 +128,7 @@ async function getUserInformation (req: express.Request, res: express.Response)
|
|||
// We did not load channels in res.locals.user
|
||||
const user = await UserModel.loadByUsernameAndPopulateChannels(res.locals.oauth.token.user.username)
|
||||
|
||||
return res.json(user.toFormattedJSON())
|
||||
return res.json(user.toFormattedJSON({ me: true }))
|
||||
}
|
||||
|
||||
async function getUserVideoQuotaUsed (req: express.Request, res: express.Response) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue