Skip to content

Commit

Permalink
Fix typo in route error handler
Browse files Browse the repository at this point in the history
  • Loading branch information
cdebost committed May 30, 2018
1 parent 618639d commit 79a6733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ module.exports = (app, home) => {
});

app.use((err, req, res, next) => { // eslint-disable-line no-unused-vars
res.json(500).json(err);
res.status(500).json(err);
});
};

0 comments on commit 79a6733

Please sign in to comment.