diff --git a/dadi/lib/controller/router.js b/dadi/lib/controller/router.js index 44a926a7..13706b0b 100644 --- a/dadi/lib/controller/router.js +++ b/dadi/lib/controller/router.js @@ -283,8 +283,7 @@ Router.prototype.validate = function (route, options, req, res) { Promise.all(paramsPromises) .then(result => { - this.testConstraint(route.path, req, res, (err, passed) => { - console.log(err) + this.testConstraint(route.path, req, res, (_, passed) => { if (passed) { return resolve('') } else {