aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube-upload.ts
diff options
context:
space:
mode:
authorLucas Declercq <lucas.declercq@ineat-conseil.fr>2018-10-08 14:45:22 +0200
committerLucas Declercq <lucas.declercq@ineat-conseil.fr>2018-10-08 14:45:22 +0200
commit7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70 (patch)
tree8042222877ed6dc983ff0e13ea3ec56aa1a4386a /server/tools/peertube-upload.ts
parent4ffdcfc63b8c804a0aea20609544c859ab57318b (diff)
downloadPeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.gz
PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.zst
PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.zip
Rename downloadingEnabled property to downloadEnabled
Diffstat (limited to 'server/tools/peertube-upload.ts')
-rw-r--r--server/tools/peertube-upload.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tools/peertube-upload.ts b/server/tools/peertube-upload.ts
index e2ba4bdbc..b17bc4288 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'] = true 33if (!program['downloadEnabled']) program['downloadEnabled'] = true
34 34
35getSettings() 35getSettings()
36 .then(settings => { 36 .then(settings => {
@@ -117,7 +117,7 @@ async function run () {
117 description: program['videoDescription'], 117 description: program['videoDescription'],
118 tags: program['tags'], 118 tags: program['tags'],
119 commentsEnabled: program['commentsEnabled'], 119 commentsEnabled: program['commentsEnabled'],
120 downloadingEnabled: program['downloadingEnabled'], 120 downloadEnabled: program['downloadEnabled'],
121 fixture: program['file'], 121 fixture: program['file'],
122 thumbnailfile: program['thumbnail'], 122 thumbnailfile: program['thumbnail'],
123 previewfile: program['preview'], 123 previewfile: program['preview'],