Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kamadi2000 committed Nov 1, 2023
1 parent d1b6d59 commit 0263a83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/src/controllers/authController.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const jwt = require("jsonwebtoken");
const { GenerateRandomPassword } = require("../utils/string");
const emailModule = require("../utils/email");
const { OTPGenerator } = require("../utils/otpgenerator");
const { default: axios } = require("axios");



Expand Down Expand Up @@ -148,7 +147,9 @@ const googleLoginBase = async (req, res, isWeb) => {
Authorization: `Bearer ${token}`,
},
}
)
).catch(err => {
console.log(err)
})
console.log(googleResponse.data);
const { email, name } = googleResponse.data;
//see if there is an user with that email already
Expand Down

0 comments on commit 0263a83

Please sign in to comment.