diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-19 16:28:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-19 16:36:21 +0100 |
commit | 805b8619c1b8c56e08c927d93293c06e1075b50d (patch) | |
tree | a165d9929c0864ecdbf2ac6e07000ac266aa5d59 /server/lib/job-queue/handlers/video-import.ts | |
parent | d487a997c80fafe6067016c6cd8e8afd6141baa3 (diff) | |
download | PeerTube-805b8619c1b8c56e08c927d93293c06e1075b50d.tar.gz PeerTube-805b8619c1b8c56e08c927d93293c06e1075b50d.tar.zst PeerTube-805b8619c1b8c56e08c927d93293c06e1075b50d.zip |
Fix (again) youtube import
Diffstat (limited to 'server/lib/job-queue/handlers/video-import.ts')
-rw-r--r-- | server/lib/job-queue/handlers/video-import.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/video-import.ts b/server/lib/job-queue/handlers/video-import.ts index db3112418..c1d1866b0 100644 --- a/server/lib/job-queue/handlers/video-import.ts +++ b/server/lib/job-queue/handlers/video-import.ts | |||
@@ -80,7 +80,7 @@ async function processYoutubeDLImport (job: Bull.Job, payload: VideoImportYoutub | |||
80 | } | 80 | } |
81 | 81 | ||
82 | return processFile( | 82 | return processFile( |
83 | () => downloadYoutubeDLVideo(videoImport.targetUrl, payload.fileExt, VIDEO_IMPORT_TIMEOUT, payload.mergeExt), | 83 | () => downloadYoutubeDLVideo(videoImport.targetUrl, payload.fileExt, VIDEO_IMPORT_TIMEOUT), |
84 | videoImport, | 84 | videoImport, |
85 | options | 85 | options |
86 | ) | 86 | ) |