From 3dd6e398ce7d62e7a710ad5742f6687297bc9b8f Mon Sep 17 00:00:00 2001 From: Ronald-pro <36841157+Ronald-pro@users.noreply.github.com> Date: Wed, 26 Jun 2024 09:15:38 +0300 Subject: [PATCH] added msisdn on user login listing --- routes/processes/nishauri_new.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/processes/nishauri_new.js b/routes/processes/nishauri_new.js index d22c956..c5fc9d8 100644 --- a/routes/processes/nishauri_new.js +++ b/routes/processes/nishauri_new.js @@ -150,6 +150,7 @@ router.post("/signup", async (req, res) => { token: token, refreshToken: refreshToken, user_id: base64.encode(new_user.id), // Use the decoded user ID + phone_no: new_user.msisdn, account_verified: new_user.is_active } }); @@ -356,6 +357,7 @@ router.post("/signin", async (req, res) => { page_id: 1, token: token, refreshToken: refreshToken, + phone_no: check_username.msisdn, account_verified: check_username.is_active };