This commit is contained in:
psychobunny
2014-10-04 18:47:56 -04:00
parent bf852d8329
commit 1b2ccda40b
11 changed files with 35 additions and 35 deletions

View File

@@ -16,7 +16,7 @@ var app,
middleware.isAdmin = function(req, res, next) {
if (!req.user) {
return res.json(404, {
return res.status(404).json({
error: 'not-found'
});
}