Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
calculuschild committed Dec 18, 2024
1 parent 6e8a0d7 commit 5f14f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/homebrew.api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5f14f65

Please sign in to comment.