From a15871560f80e07386c1dabb8370cd2664ecfd1f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 31 Jan 2020 16:56:52 +0100 Subject: Move to eslint --- scripts/create-transcoding-job.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/create-transcoding-job.ts') diff --git a/scripts/create-transcoding-job.ts b/scripts/create-transcoding-job.ts index 27170299d..fec58da2e 100755 --- a/scripts/create-transcoding-job.ts +++ b/scripts/create-transcoding-job.ts @@ -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) } } -- cgit v1.2.3