From a15871560f80e07386c1dabb8370cd2664ecfd1f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 31 Jan 2020 16:56:52 +0100 Subject: Move to eslint --- server/controllers/api/jobs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/api/jobs.ts') diff --git a/server/controllers/api/jobs.ts b/server/controllers/api/jobs.ts index 05320311e..13fc04d18 100644 --- a/server/controllers/api/jobs.ts +++ b/server/controllers/api/jobs.ts @@ -50,7 +50,7 @@ async function listJobs (req: express.Request, res: express.Response) { }) const total = await JobQueue.Instance.count(state) - const result: ResultList = { + const result: ResultList = { total, data: jobs.map(j => formatJob(j, state)) } -- cgit v1.2.3