Skip to content

Commit

Permalink
style: remove unnecessary log statement
Browse files Browse the repository at this point in the history
Close #396
  • Loading branch information
jimlambie committed May 22, 2018
1 parent 4f85c7f commit bf5316b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dadi/lib/controller/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bf5316b

Please sign in to comment.