aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools
diff options
context:
space:
mode:
authorLucas Declercq <lucas.declercq@ineat-conseil.fr>2018-10-08 14:42:55 +0200
committerLucas Declercq <lucas.declercq@ineat-conseil.fr>2018-10-08 14:42:55 +0200
commit4ffdcfc63b8c804a0aea20609544c859ab57318b (patch)
tree079c10d28490fd1861c3643ae67c19570f483761 /server/tools
parente0d827e29afc1b29eaf550deb0627c13088c0c65 (diff)
downloadPeerTube-4ffdcfc63b8c804a0aea20609544c859ab57318b.tar.gz
PeerTube-4ffdcfc63b8c804a0aea20609544c859ab57318b.tar.zst
PeerTube-4ffdcfc63b8c804a0aea20609544c859ab57318b.zip
Fix some defaults values + indentation
Diffstat (limited to 'server/tools')
-rw-r--r--server/tools/peertube-upload.ts2
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'] = []
30if (!program['nsfw']) program['nsfw'] = false 30if (!program['nsfw']) program['nsfw'] = false
31if (!program['privacy']) program['privacy'] = VideoPrivacy.PUBLIC 31if (!program['privacy']) program['privacy'] = VideoPrivacy.PUBLIC
32if (!program['commentsEnabled']) program['commentsEnabled'] = false 32if (!program['commentsEnabled']) program['commentsEnabled'] = false
33if (!program['downloadingEnabled']) program['downloadingEnabled'] = false 33if (!program['downloadingEnabled']) program['downloadingEnabled'] = true
34 34
35getSettings() 35getSettings()
36 .then(settings => { 36 .then(settings => {