1
0
Fork 0
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:
Rigel Kent 2020-01-02 13:07:18 +01:00
parent cca1e13b96
commit 29128b2f5c
No known key found for this signature in database
GPG key ID: 5E53E96A494E452F
13 changed files with 184 additions and 17 deletions

View file

@ -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) {