Missing middleware

This commit is contained in:
Daniel García Aubert 2018-02-23 13:19:26 +01:00
parent 897d38c3f4
commit f85bdf53a5

View File

@ -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));