]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/optimize-old-videos.ts
Update translations
[github/Chocobozzz/PeerTube.git] / scripts / optimize-old-videos.ts
index 8e2e7fcf4b9b3b1f445f76875fdbdf36b3eb1213..01d30244fb62fe5f58bf73064f404791735ed35b 100644 (file)
@@ -72,7 +72,7 @@ async function run () {
 
         console.log('Failed to optimize %s, restoring original', basename(currentFile))
         await move(backupFile, currentFile, { overwrite: true })
-        await createTorrentAndSetInfoHash(video, video, file)
+        await createTorrentAndSetInfoHash(video, file)
         await file.save()
       }
     }