diff --git a/app/Controllers/RestAuthenticationController.php b/app/Controllers/RestAuthenticationController.php index 8bd9962b..4a4b7cbd 100755 --- a/app/Controllers/RestAuthenticationController.php +++ b/app/Controllers/RestAuthenticationController.php @@ -399,7 +399,7 @@ class RestAuthenticationController extends AdminController $client_id = $this->request->getJSON()->client_id ?? null; if(empty($otp)){ - return $this->respond(['status' => 'failed','code' => 400,'message' => 'OTP is required'], 200); + return $this->respond(['status' => 'OTP is required','code' => 400,'message' => 'OTP is required'], 200); } if (empty($mobile_number) && empty($email_id)) {