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

@ -91,7 +91,7 @@ exports.expressCreateServer = function(n, args) {
res.setHeader('Content-Type', 'application/json; charset=utf-8');
res.send('{"'+locale+'":'+JSON.stringify(locales[locale])+'}');
} else {
res.send(404, 'Language not available');
res.status(404).send('Language not available');
}
})