diff options
Diffstat (limited to 'server/controllers/api/jobs.ts')
-rw-r--r-- | server/controllers/api/jobs.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/jobs.ts b/server/controllers/api/jobs.ts index 929140140..861cc22b9 100644 --- a/server/controllers/api/jobs.ts +++ b/server/controllers/api/jobs.ts | |||
@@ -69,6 +69,7 @@ async function formatJob (job: any, state?: JobState): Promise<Job> { | |||
69 | type: job.queue.name as JobType, | 69 | type: job.queue.name as JobType, |
70 | data: job.data, | 70 | data: job.data, |
71 | progress: await job.progress(), | 71 | progress: await job.progress(), |
72 | priority: job.opts.priority, | ||
72 | error, | 73 | error, |
73 | createdAt: new Date(job.timestamp), | 74 | createdAt: new Date(job.timestamp), |
74 | finishedOn: new Date(job.finishedOn), | 75 | finishedOn: new Date(job.finishedOn), |