From ad355a0dd36e8cd73dc7cf069e9d5443505948f8 Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Thu, 31 Jul 2025 17:34:37 +0530 Subject: [PATCH] FIX_LIVE_ISSUE_GET_CLIENT_DETAILS_API ISSUE : RV --- app/Controllers/RestAuthenticationController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Controllers/RestAuthenticationController.php b/app/Controllers/RestAuthenticationController.php index 976a35f..04902bc 100755 --- a/app/Controllers/RestAuthenticationController.php +++ b/app/Controllers/RestAuthenticationController.php @@ -425,6 +425,7 @@ class RestAuthenticationController extends AdminController // print_r($employeeData); die; unset($employeeData['employee_id']); + $employeeData['token_type'] = "pre"; $result = JWTToken::encode($employeeData); if(isset($this->request->getJSON()->otp)){ @@ -959,6 +960,7 @@ class RestAuthenticationController extends AdminController } unset($employeeData['employee_id']); + $employeeData['token_type'] = "pre"; $result = JWTToken::encode($employeeData); $this->myLogger->logme("error", "REST-AUTH-CONTROLLER - verifyMpin: Calling third-party API - verifyMpin to get the POST employee data");