aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/job-queue/handlers')
-rw-r--r--server/lib/job-queue/handlers/video-file.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/video-file.ts b/server/lib/job-queue/handlers/video-file.ts
index 04983155c..3a867b77f 100644
--- a/server/lib/job-queue/handlers/video-file.ts
+++ b/server/lib/job-queue/handlers/video-file.ts
@@ -140,7 +140,7 @@ async function onVideoFileOptimizerSuccess (videoArg: VideoModel, payload: Video
140 let videoPublished = false 140 let videoPublished = false
141 141
142 if (resolutionsEnabled.length !== 0) { 142 if (resolutionsEnabled.length !== 0) {
143 const tasks: Bluebird<Bull.Job<any>>[] = [] 143 const tasks: (Bluebird<Bull.Job<any>> | Promise<Bull.Job<any>>)[] = []
144 144
145 for (const resolution of resolutionsEnabled) { 145 for (const resolution of resolutionsEnabled) {
146 const dataInput = { 146 const dataInput = {