0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00
This commit is contained in:
Charlie Humphreys
2022-05-26 04:46:07 +00:00
parent b54b7e317e
commit bade09c24c

View File

@@ -190,7 +190,7 @@ app.get('/user/:username', async (req, res, next)=>{
});
if(googleBrews && googleBrews.length > 0) {
for (const brew of brews.filter(brew => brew.googleId)) {
for (const brew of brews.filter((brew)=>brew.googleId)) {
const match = googleBrews.findIndex((b)=>b.editId === brew.editId);
if(match !== -1) {
brew.googleId = googleBrews[match].googleId;