diff --git a/services/authService_user.js b/services/authService_user.js index 30cab28..00654ee 100644 --- a/services/authService_user.js +++ b/services/authService_user.js @@ -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() { @@ -109,4 +109,4 @@ exports.signToken = (req, res) => { }); } }); -} \ No newline at end of file +}