From f1a1ffa8172523b43815d282434a87b3b0d74e53 Mon Sep 17 00:00:00 2001 From: asif Date: Thu, 11 Sep 2025 22:51:31 +0530 Subject: [PATCH] fix: removed the temp phone number that was added for testing --- src/controllers/otp.controller.js | 2 -- 1 file changed, 2 deletions(-) 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' });