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

Add ability for uploaders to schedule video update

This commit is contained in:
Chocobozzz 2018-06-14 18:06:56 +02:00
parent bf079b7bfd
commit 2baea0c77c
No known key found for this signature in database
GPG key ID: 583A612D890159BE
21 changed files with 469 additions and 22 deletions

View file

@ -174,7 +174,11 @@ async function getUserVideos (req: express.Request, res: express.Response, next:
false // Display my NSFW videos
)
const additionalAttributes = { waitTranscoding: true, state: true }
const additionalAttributes = {
waitTranscoding: true,
state: true,
scheduledUpdate: true
}
return res.json(getFormattedObjects(resultList.data, resultList.total, { additionalAttributes }))
}