From f85bdf53a534d3e427aa676743edfad7e3f04b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Fri, 23 Feb 2018 13:19:26 +0100 Subject: [PATCH] Missing middleware --- app/controllers/job_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/job_controller.js b/app/controllers/job_controller.js index 41b0e789..6539058e 100644 --- a/app/controllers/job_controller.js +++ b/app/controllers/job_controller.js @@ -24,7 +24,7 @@ JobController.prototype.route = function (app) { this.statsdClient ); - app.get(`${base_url}/jobs-wip`, listWorkInProgressJobs(this.jobService), errorMiddleware()); + app.get(`${base_url}/jobs-wip`, listWorkInProgressJobs(this.jobService), sendResponse(), errorMiddleware()); app.post(`${base_url}/sql/job`, checkBodyPayloadSize(), jobMiddlewares('create', createJob)); app.get(`${base_url}/sql/job/:job_id`, jobMiddlewares('retrieve', getJob)); app.delete(`${base_url}/sql/job/:job_id`, jobMiddlewares('cancel', cancelJob));