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

@ -55,7 +55,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
ERR(err);
if(err == "notfound")
res.send(404, '404 - Not Found');
res.status(404).send('404 - Not Found');
else
res.send(html);
});