diff --git a/src/controllers/otp.controller.js b/src/controllers/otp.controller.js index acc3687..d53bcea 100644 --- a/src/controllers/otp.controller.js +++ b/src/controllers/otp.controller.js @@ -148,7 +148,6 @@ async function sendForSetPassword(req, res) { // if present then get his phone number from CBS const userDetails = await customerController.getDetails(customerNo); const singleUserDetail = userDetails[0]; - singleUserDetail.mobileno = '7004774978'; if (!singleUserDetail?.mobileno) return res.status(400).json({ error: 'USER_PHONE_NOT_FOUND' }); @@ -182,7 +181,6 @@ async function verifyForSetPassword(req, res) { const userDetails = await customerController.getDetails(customerNo); // temp check const singleUserDetail = userDetails[0]; - singleUserDetail.mobileno = '7004774978'; if (!singleUserDetail?.mobileno) return res.status(400).json({ error: 'USER_PHONE_NOT_FOUND' });