mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 14:12:40 +00:00
Go back to service account for brew updates
This commit is contained in:
@@ -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)=>{
|
||||
|
||||
Reference in New Issue
Block a user