1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-12 23:45:57 +00:00

Fixed a bug with saving while not logged in

This commit is contained in:
Scott Tolksdorf
2016-11-27 18:55:50 -05:00
parent 30942785d1
commit a634b76117
9 changed files with 37 additions and 32 deletions

View File

@@ -63,7 +63,6 @@ app.get('/user/:username', (req, res, next) => {
.then((brews) => {
req.brews = brews;
return next();
//return res.json(brews)
})
.catch((err) => {
console.log(err);