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:
parent
efc9e8450a
commit
26b7305a23
35 changed files with 689 additions and 163 deletions
|
@ -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 }))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue