diff options
author | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:42:55 +0200 |
---|---|---|
committer | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:42:55 +0200 |
commit | 4ffdcfc63b8c804a0aea20609544c859ab57318b (patch) | |
tree | 079c10d28490fd1861c3643ae67c19570f483761 /server/controllers/api | |
parent | e0d827e29afc1b29eaf550deb0627c13088c0c65 (diff) | |
download | PeerTube-4ffdcfc63b8c804a0aea20609544c859ab57318b.tar.gz PeerTube-4ffdcfc63b8c804a0aea20609544c859ab57318b.tar.zst PeerTube-4ffdcfc63b8c804a0aea20609544c859ab57318b.zip |
Fix some defaults values + indentation
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/videos/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index ec25006e8..4b6d1b847 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts | |||
@@ -179,7 +179,7 @@ async function addVideo (req: express.Request, res: express.Response) { | |||
179 | licence: videoInfo.licence, | 179 | licence: videoInfo.licence, |
180 | language: videoInfo.language, | 180 | language: videoInfo.language, |
181 | commentsEnabled: videoInfo.commentsEnabled || false, | 181 | commentsEnabled: videoInfo.commentsEnabled || false, |
182 | downloadingEnabled: videoInfo.downloadingEnabled || false, | 182 | downloadingEnabled: videoInfo.downloadingEnabled || true, |
183 | waitTranscoding: videoInfo.waitTranscoding || false, | 183 | waitTranscoding: videoInfo.waitTranscoding || false, |
184 | state: CONFIG.TRANSCODING.ENABLED ? VideoState.TO_TRANSCODE : VideoState.PUBLISHED, | 184 | state: CONFIG.TRANSCODING.ENABLED ? VideoState.TO_TRANSCODE : VideoState.PUBLISHED, |
185 | nsfw: videoInfo.nsfw || false, | 185 | nsfw: videoInfo.nsfw || false, |