diff --git a/app/Http/Controllers/API/UserController.php b/app/Http/Controllers/API/UserController.php index 0c74554..697d8a4 100644 --- a/app/Http/Controllers/API/UserController.php +++ b/app/Http/Controllers/API/UserController.php @@ -43,7 +43,8 @@ public function all_hcw() public function facility_hcw($id) { - return new GenericCollection(HealthCareWorker::where('facility_id',$id)->paginate(100)); + //return new GenericCollection(HealthCareWorker::where('facility_id',$id)->paginate(100)); + return new GenericCollection(HealthCareWorker::where('facility_id',$id)); } public function assign_facility_admin(Request $request)