FIX_API
This commit is contained in:
parent
109c982c79
commit
1c34b18cc4
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user