0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 21:42:44 +00:00

Merge branch 'master' into experimentalGoogleServiceAccountChange

This commit is contained in:
G.Ambatte
2025-08-26 07:32:29 +12:00
committed by GitHub
15 changed files with 909 additions and 641 deletions

View File

@@ -490,8 +490,8 @@ app.get('/account', asyncHandler(async (req, res, next)=>{
const query = { authors: req.account.username, googleId: { $exists: false } };
const mongoCount = await HomebrewModel.countDocuments(query)
.catch((err)=>{
mongoCount = 0;
console.log(err);
return 0;
});
data.accountDetails = {