Fix bad call to next middleware callback

This commit is contained in:
Daniel García Aubert
2017-11-14 11:28:06 +01:00
parent 172b3ece71
commit bdf4827300
+1 -1
View File
@@ -84,7 +84,7 @@ AnalysesController.prototype.catalog = function (req, res, next) {
err.http_status = 401;
}
next(req, res, err);
next(err);
} else {
self.sendResponse(req, res, { catalog: catalogWithTables });
}