]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/jobs.ts
Added translation using Weblate (Chinese (Simplified) (zh_HANT-TW))
[github/Chocobozzz/PeerTube.git] / server / controllers / api / jobs.ts
index 9291401402fd9cadf3e060b44c5707adac782f4a..861cc22b94978050531ca735c099f6b0feb53788 100644 (file)
@@ -69,6 +69,7 @@ async function formatJob (job: any, state?: JobState): Promise<Job> {
     type: job.queue.name as JobType,
     data: job.data,
     progress: await job.progress(),
+    priority: job.opts.priority,
     error,
     createdAt: new Date(job.timestamp),
     finishedOn: new Date(job.finishedOn),