diff --git a/routes/getDataForQeues.js b/routes/getDataForQeues.js index 32f05f58..0d965b15 100644 --- a/routes/getDataForQeues.js +++ b/routes/getDataForQeues.js @@ -70,7 +70,7 @@ module.exports = async function getDataForQeues({ queues, query = {} }) { return { name, counts, - jobs: jobs.map(formatJob), + jobs: jobs.filter((job) => !!job).map(formatJob), } }), )