0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Go back to service account for brew updates

This commit is contained in:
Trevor Buckner
2024-10-01 12:17:30 -04:00
parent e7e35294c6
commit c33b44855a

View File

@@ -419,11 +419,11 @@ const api = {
},
updateGoogleBrew : async (account, brew, res, req)=>{
let oAuth2Client;
if(account.googleId)
oAuth2Client = GoogleActions.authCheck(account, res);
//let oAuth2Client;
//if(account.googleId)
// oAuth2Client = GoogleActions.authCheck(account, res);
return await GoogleActions.updateGoogleBrew(brew, oAuth2Client, req.ip);
return await GoogleActions.updateGoogleBrew(brew, undefined, req.ip);
},
deleteGoogleBrew : async (account, id, editId, res)=>{