Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Add more debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEgghead27 committed Feb 24, 2024
1 parent e00f4bd commit 3ffd429
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/googleApis/oAuth2Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ const oAuth2Client = new google.auth.OAuth2(
GOOGLE_APIS_CLIENT_SECRET,
'urn:ietf:wg:oauth:2.0:oob'
);
if (process.env.DEBUG) {
console.log({
GOOGLE_APIS_CLIENT_ID,
GOOGLE_APIS_CLIENT_SECRET,
oAuth2Client
});
}

let token;

Expand Down

0 comments on commit 3ffd429

Please sign in to comment.