Merge branch 'master' into addEditorThemes-#362

This commit is contained in:
G.Ambatte authored and GitHub committed 2023-07-11 07:38:13 +12:00
commit cf3635bccc
24 files changed
+947 -889

No files matched your search

+2 -2
View File
@@ -326,8 +326,8 @@ app.get('/share/:id', asyncHandler(getBrew('share')), asyncHandler(async (req, r
};
if(req.params.id.length > 12 && !brew._id) {
const googleId = req.params.id.slice(0, -12);
const shareId = req.params.id.slice(-12);
const googleId = brew.googleId;
const shareId = brew.shareId;
await GoogleActions.increaseView(googleId, shareId, 'share', brew)
.catch((err)=>{next(err);});
} else {