1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Add blacklist reason field

This commit is contained in:
Chocobozzz 2018-08-13 16:57:13 +02:00
parent efc9e8450a
commit 26b7305a23
No known key found for this signature in database
GPG key ID: 583A612D890159BE
35 changed files with 689 additions and 163 deletions

View file

@ -201,14 +201,14 @@ async function getUserVideos (req: express.Request, res: express.Response, next:
user.Account.id,
req.query.start as number,
req.query.count as number,
req.query.sort as VideoSortField,
false // Display my NSFW videos
req.query.sort as VideoSortField
)
const additionalAttributes = {
waitTranscoding: true,
state: true,
scheduledUpdate: true
scheduledUpdate: true,
blacklistInfo: true
}
return res.json(getFormattedObjects(resultList.data, resultList.total, { additionalAttributes }))
}