From c33b44855a29979fdeab05cd102767eb45f3097f Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Tue, 1 Oct 2024 12:17:30 -0400 Subject: [PATCH] Go back to service account for brew updates --- server/homebrew.api.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/homebrew.api.js b/server/homebrew.api.js index 5adbc40cf..b231dd0cc 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -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)=>{