diff --git a/app/Http/Controllers/API/UserController.php b/app/Http/Controllers/API/UserController.php index 697d8a4..e2db3a4 100644 --- a/app/Http/Controllers/API/UserController.php +++ b/app/Http/Controllers/API/UserController.php @@ -43,8 +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)); + return new GenericCollection(HealthCareWorker::where('facility_id',$id)->paginate(250)); + //return new GenericCollection(HealthCareWorker::where('facility_id',$id)); } public function assign_facility_admin(Request $request)