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/tools/peertube-upload.ts | |
parent | e0d827e29afc1b29eaf550deb0627c13088c0c65 (diff) | |
download | PeerTube-4ffdcfc63b8c804a0aea20609544c859ab57318b.tar.gz PeerTube-4ffdcfc63b8c804a0aea20609544c859ab57318b.tar.zst PeerTube-4ffdcfc63b8c804a0aea20609544c859ab57318b.zip |
Fix some defaults values + indentation
Diffstat (limited to 'server/tools/peertube-upload.ts')
-rw-r--r-- | server/tools/peertube-upload.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/peertube-upload.ts b/server/tools/peertube-upload.ts index e7b885a38..e2ba4bdbc 100644 --- a/server/tools/peertube-upload.ts +++ b/server/tools/peertube-upload.ts | |||
@@ -30,7 +30,7 @@ if (!program['tags']) program['tags'] = [] | |||
30 | if (!program['nsfw']) program['nsfw'] = false | 30 | if (!program['nsfw']) program['nsfw'] = false |
31 | if (!program['privacy']) program['privacy'] = VideoPrivacy.PUBLIC | 31 | if (!program['privacy']) program['privacy'] = VideoPrivacy.PUBLIC |
32 | if (!program['commentsEnabled']) program['commentsEnabled'] = false | 32 | if (!program['commentsEnabled']) program['commentsEnabled'] = false |
33 | if (!program['downloadingEnabled']) program['downloadingEnabled'] = false | 33 | if (!program['downloadingEnabled']) program['downloadingEnabled'] = true |
34 | 34 | ||
35 | getSettings() | 35 | getSettings() |
36 | .then(settings => { | 36 | .then(settings => { |