diff --git a/crates/backend/src/routes.rs b/crates/backend/src/routes.rs index be1850b..d279605 100644 --- a/crates/backend/src/routes.rs +++ b/crates/backend/src/routes.rs @@ -9,8 +9,8 @@ pub fn config(cfg: &mut web::ServiceConfig) { .get(UserController::list_users) .post(UserController::create_user), ) - .service(web::resource("/users/{user_id}")) .route("/users/me", web::get().to(UserController::get_current_user)) + .service(web::resource("/users/{user_id}")) .service( web::resource("/licenses") .get(LicenseController::list_groups)