FIX_ISSUE

This commit is contained in:
VENKATESHWARAN 2025-12-05 14:20:56 +05:30
parent bad9a267fe
commit 19096a99ae

View File

@ -456,7 +456,7 @@ class RestAuthenticationController extends AdminController
// Call the third-party API function
$apiResponse = $this->callThirdPartyAPI($retailApiParams, 'getVerifiedRetailUserData');
// print_r($apiResponse); die;
return $this->respond(['status' => 'success', 'code' => 200, 'data' => [], 'post_enrollment' => json_decode($apiResponse, true)], 200);
return $this->respond(['status' => 'failed', 'code' => 200, 'data' => [], 'post_enrollment' => json_decode($apiResponse, true)], 200);
}
return $this->respond(['status' => 'Invalid OTP','code' => 404,'data' => "", 'message' => "Invalid OTP"],200);