]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix thumbnail/preview in upload script
authorChocobozzz <me@florianbigard.com>
Mon, 3 Sep 2018 09:12:53 +0000 (11:12 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 3 Sep 2018 09:12:53 +0000 (11:12 +0200)
server/tools/upload.ts

index 796a0f723aeea127f12de3e18ccb91d1b593a2bf..9b104d3089582b2fd4b4e9daea61f0acc5e86b65 100644 (file)
@@ -79,8 +79,8 @@ async function run () {
     tags: program['tags'],
     commentsEnabled: program['commentsEnabled'],
     fixture: program['file'],
-    thumbnailfile: program['thumbnailPath'],
-    previewfile: program['previewPath'],
+    thumbnailfile: program['thumbnail'],
+    previewfile: program['preview'],
     waitTranscoding: true,
     privacy: program['privacy'],
     support: undefined