Skip to content

Commit

Permalink
Adjust logs
Browse files Browse the repository at this point in the history
  • Loading branch information
elie222 committed Jan 25, 2025
1 parent b7277ee commit 523d425
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apps/web/utils/gmail/permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,8 @@ async function checkGmailPermissions({

const hasAllPermissions = missingScopes.length === 0;

logger.info("Gmail permissions check", {
email,
hasAllPermissions,
missingScopes,
});
if (!hasAllPermissions)
logger.info("Missing Gmail permissions", { email, missingScopes });

return { hasAllPermissions, missingScopes };
} catch (error) {
Expand Down

1 comment on commit 523d425

@vercel
Copy link

@vercel vercel bot commented on 523d425 Jan 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.