]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tools/upload.ts
Fix thumbnail/preview in upload script
[github/Chocobozzz/PeerTube.git] / 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