diff --git a/app/Controllers/EmployeeRestController.php b/app/Controllers/EmployeeRestController.php index cdf15907..0c60223e 100755 --- a/app/Controllers/EmployeeRestController.php +++ b/app/Controllers/EmployeeRestController.php @@ -4977,10 +4977,10 @@ class EmployeeRestController extends AdminController $data = db_connect()->table('partner_claim_type_master')->select('id,claim_type')->where('is_active',1)->get()->getResultArray(); if (!$data) { - return $this->failNotFound('No data found'); + return $this->respond(['status' => 'failed', 'code' => 404, 'data' => []], 200); } - return $this->respond(['status' => 200,'message' => 'success','data' => $data]); + return $this->respond(['status' => 'success', 'code' => 200, 'data' => $data]); } public function uploadIRDocs()