Fix some defaults values + indentation

This commit is contained in:
Lucas Declercq
2018-10-08 14:42:55 +02:00
parent e0d827e29a
commit 4ffdcfc63b
4 changed files with 5 additions and 4 deletions

View File

@@ -179,7 +179,7 @@ async function addVideo (req: express.Request, res: express.Response) {
licence: videoInfo.licence,
language: videoInfo.language,
commentsEnabled: videoInfo.commentsEnabled || false,
downloadingEnabled: videoInfo.downloadingEnabled || false,
downloadingEnabled: videoInfo.downloadingEnabled || true,
waitTranscoding: videoInfo.waitTranscoding || false,
state: CONFIG.TRANSCODING.ENABLED ? VideoState.TO_TRANSCODE : VideoState.PUBLISHED,
nsfw: videoInfo.nsfw || false,