mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-28 05:48:16 +00:00
Update Version number & cleanup
This commit is contained in:
@@ -97,7 +97,6 @@ app.get('/user/:username', async (req, res, next)=>{
|
||||
let googleBrews = [];
|
||||
|
||||
if(req.account && req.account.googleId){
|
||||
console.log('GETTING DATA FOR USER PAGE');
|
||||
googleBrews = await GoogleActions.listGoogleBrews(req, res)
|
||||
.catch((err)=>{
|
||||
console.error(err);
|
||||
@@ -202,7 +201,7 @@ app.use((req, res)=>{
|
||||
account : req.account,
|
||||
};
|
||||
templateFn('homebrew', props)
|
||||
.then((page)=>{console.log('^--- END OF REQUEST ---^'); res.send(page);})
|
||||
.then((page)=>{res.send(page);})
|
||||
.catch((err)=>{
|
||||
console.log(err);
|
||||
return res.sendStatus(500);
|
||||
|
||||
Reference in New Issue
Block a user