mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-19 11:38:13 +00:00
Remove redundant excludeGoogleProps from newGoogleBrew call
This commit is contained in:
@@ -407,7 +407,7 @@ const api = {
|
|||||||
brew.googleId = undefined;
|
brew.googleId = undefined;
|
||||||
} else if(!brew.googleId && saveToGoogle) {
|
} else if(!brew.googleId && saveToGoogle) {
|
||||||
// If we don't have a google id and the user wants to save to google, create the google brew and set the google id on the brew
|
// If we don't have a google id and the user wants to save to google, create the google brew and set the google id on the brew
|
||||||
brew.googleId = await api.newGoogleBrew(req.account, api.excludeGoogleProps(brew), res);
|
brew.googleId = await api.newGoogleBrew(req.account, brew, res);
|
||||||
|
|
||||||
if(!brew.googleId) return;
|
if(!brew.googleId) return;
|
||||||
} else if(brew.googleId) {
|
} else if(brew.googleId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user