From 5f14f656ef88a20bb4e12033cf3763d53d753f2e Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Wed, 18 Dec 2024 17:23:38 -0500 Subject: [PATCH] Logging --- server/homebrew.api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/homebrew.api.js b/server/homebrew.api.js index 548346643..5f19f81fb 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -125,7 +125,7 @@ const api = { // If there is a google id, try to find the google brew if(!stubOnly && googleId) { const oAuth2Client = isOwner ? GoogleActions.authCheck(req.account, res) : undefined; - + console.log(`user ${req.account?.username} attempting to get googlebrew ${googleId} as ${isOwner ? 'owner' : 'visitor'}`); const googleBrew = await GoogleActions.getGoogleBrew(oAuth2Client, googleId, id, accessType) .catch((googleError)=>{ const reason = googleError.errors?.[0].reason;