Skip to content

Commit

Permalink
Update authService_user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dgargdipin authored Sep 5, 2020
1 parent e262ac8 commit 9ec67c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/authService_user.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports.checkTokenMW = (req, res, next) => {
}
};
exports.checkOAUTHtoken = async(req, res, next) => {
const CLIENT_ID = '931450817326-25po48n0tc1q5f81e06mdgp74k2tumhh.apps.googleusercontent.com'
const CLIENT_ID = process.env.CLIENT_ID
if (req.body.tokenId) {
const client = new OAuth2Client(CLIENT_ID);
async function verify() {
Expand Down Expand Up @@ -109,4 +109,4 @@ exports.signToken = (req, res) => {
});
}
});
}
}

0 comments on commit 9ec67c9

Please sign in to comment.