]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/create-transcoding-job.ts
Move to eslint
[github/Chocobozzz/PeerTube.git] / scripts / create-transcoding-job.ts
index 27170299d657e76a94d9254d6dd9ec1b81c98498..fec58da2ee667007c2388af7d275a293011c8911 100755 (executable)
@@ -72,7 +72,7 @@ async function run () {
   await JobQueue.Instance.init()
 
   for (const d of dataInput) {
-    await JobQueue.Instance.createJob({ type: 'video-transcoding', payload: d })
+    await JobQueue.Instance.createJobWithPromise({ type: 'video-transcoding', payload: d })
     console.log('Transcoding job for video %s created.', video.uuid)
   }
 }