Fix jobs pagination

pull/3284/head
Chocobozzz 2020-11-09 16:13:03 +01:00
parent 4872e9468e
commit 439d68e537
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ async function listJobs (req: express.Request, res: express.Response) {
asc,
jobType
})
const total = await JobQueue.Instance.count(state)
const total = await JobQueue.Instance.count(state, jobType)
const result: ResultList<Job> = {
total,