projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move to eslint
[oweals/peertube.git]
/
server
/
lib
/
job-queue
/
handlers
/
video-import.ts
diff --git
a/server/lib/job-queue/handlers/video-import.ts
b/server/lib/job-queue/handlers/video-import.ts
index 1fca17584f83408c9a84dc7c556998172155fc6f..09f225cec8311b6c06fd3608e1b3cfceb7aeb16d 100644
(file)
--- a/
server/lib/job-queue/handlers/video-import.ts
+++ b/
server/lib/job-queue/handlers/video-import.ts
@@
-221,7
+221,7
@@
async function processFile (downloader: () => Promise<string>, videoImport: MVid
isNewVideo: true
}
- await JobQueue.Instance.createJob({ type: 'video-transcoding', payload: dataInput })
+ await JobQueue.Instance.createJob
WithPromise
({ type: 'video-transcoding', payload: dataInput })
}
} catch (err) {