fix the rest of the deprecation warnings

This commit is contained in:
Tom Hunkapiller 2015-04-10 14:10:55 -05:00
parent 6fad2ca39a
commit fd1d285a77
6 changed files with 8 additions and 8 deletions

View file

@ -15,7 +15,7 @@ module.exports = function (req, res, callback) {
callback();
//no access
} else {
res.send(403, "403 - Can't touch this");
res.status(403).send("403 - Can't touch this");
}
});
}