From 35d93582d762b619a9dc1817f9d74690bc8ddfc2 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Mon, 10 Nov 2025 06:04:10 +0000 Subject: [PATCH] Remove unnecessary async map function --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index da1a4ba7e..e3978ee8b 100644 --- a/server/app.js +++ b/server/app.js @@ -334,7 +334,7 @@ app.get('/user/:username', dbCheck, async (req, res, next)=>{ } //Remaining unstubbed google brews display current user as author - googleBrews = googleBrews.map(async (brew)=>({ ...brew, authors: [req.account.username] })); + googleBrews = googleBrews.map((brew)=>({ ...brew, authors: [req.account.username] })); brews = _.concat(brews, googleBrews); } }