Skip to content

Commit

Permalink
Update UserController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau committed Jun 4, 2021
1 parent 3138895 commit 78445fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/API/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 78445fa

Please sign in to comment.