fix: removed the temp phone number that was added for testing

This commit is contained in:
2025-09-11 22:51:31 +05:30
parent 64e3cf3182
commit f1a1ffa817

View File

@@ -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' });