From 6f530096cbceda09377c2e8e235cf02c36226989 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 29 Jul 2019 14:10:31 +0200 Subject: Correctly import tags in CLI --- server/tools/peertube-upload.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'server/tools/peertube-upload.ts') 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) { console.log('Uploading %s video...', program[ 'videoName' ]) - const defaultAttributes = { - tags: command[ 'tags' ], - description: command[ 'videoDescription' ] - } - const videoAttributes = await buildVideoAttributesFromCommander(url, program, defaultAttributes) + const videoAttributes = await buildVideoAttributesFromCommander(url, program) Object.assign(videoAttributes, { fixture: program[ 'file' ], -- cgit v1.2.3