aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube-upload.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/peertube-upload.ts')
-rw-r--r--server/tools/peertube-upload.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/server/tools/peertube-upload.ts b/server/tools/peertube-upload.ts
index d9f9a8ead..4569cbb85 100644
--- a/server/tools/peertube-upload.ts
+++ b/server/tools/peertube-upload.ts
@@ -46,11 +46,7 @@ async function run (url: string, username: string, password: string) {
46 46
47 console.log('Uploading %s video...', program[ 'videoName' ]) 47 console.log('Uploading %s video...', program[ 'videoName' ])
48 48
49 const defaultAttributes = { 49 const videoAttributes = await buildVideoAttributesFromCommander(url, program)
50 tags: command[ 'tags' ],
51 description: command[ 'videoDescription' ]
52 }
53 const videoAttributes = await buildVideoAttributesFromCommander(url, program, defaultAttributes)
54 50
55 Object.assign(videoAttributes, { 51 Object.assign(videoAttributes, {
56 fixture: program[ 'file' ], 52 fixture: program[ 'file' ],