Skip to content

Commit

Permalink
fix http method
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Sep 23, 2020
1 parent ee3d733 commit d9433a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/sudo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ pub fn sudo_app<T: AsyncCisClientTrait + 'static>() -> impl HttpServiceFactory {
.route(web::delete().to(remove_member::<T>)),
)
.service(web::resource("/user/{uuid}").route(web::delete().to(delete_user)))
.service(web::resource("/user/uuids/staff").route(web::post().to(all_staff_uuids)))
.service(web::resource("/user/uuids/members").route(web::post().to(all_member_uuids)))
.service(web::resource("/user/uuids/staff").route(web::get().to(all_staff_uuids)))
.service(web::resource("/user/uuids/members").route(web::get().to(all_member_uuids)))
.service(
web::resource("/user/cis/{user_uuid}").route(web::post().to(update_cis_for_user::<T>)),
)
Expand Down

0 comments on commit d9433a5

Please sign in to comment.