From 8efc27bf14f1fe3ed23cd8a6d2de1f0918a7f769 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 18 Feb 2021 11:28:00 +0100 Subject: Cleanup --- scripts/optimize-old-videos.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/optimize-old-videos.ts') diff --git a/scripts/optimize-old-videos.ts b/scripts/optimize-old-videos.ts index 8e2e7fcf4..01d30244f 100644 --- a/scripts/optimize-old-videos.ts +++ b/scripts/optimize-old-videos.ts @@ -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() } } -- cgit v1.2.3