Skip to content

Commit

Permalink
Merge branch 'master' of https://gitlab.com/m-health/c4c_api
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau committed May 7, 2021
2 parents 7eb4af3 + 22b4ed7 commit a1d7f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/API/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function upload_bulk_users(Request $request)
'facility_id' => 'required|numeric|exists:facilities,id',
'facility_department' => 'required|exists:facility_departments,department_name',
'cadre' => 'required|exists:cadres,name',
'dob' => 'required',
//'dob' => 'required',
],[
'email.unique' => 'The email is already registered',
'msisdn.required' => 'Phone number is required',
Expand Down
2 changes: 1 addition & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
Route::get('resources/protocols/details/{id}', 'ResourcesController@get_protocols_details');
Route::delete('resources/protocols/delete/{id}', 'ResourcesController@delete_facility_protocol');

Route::get('resources/hcw/protocols', 'ResourcesController@get_hcw_facility_protocols');
Route::get('resources/hcw/protocols', 'ResourcesController@get_facility_protocols');
Route::get('resources/protocols/partner/{id}', 'ResourcesController@get_partner_protocols');


Expand Down

0 comments on commit a1d7f13

Please sign in to comment.