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 20667fe commit 3138895
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/API/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3138895

Please sign in to comment.