From 9f42d387c4e0b01063d814deb7aa2380e27868da Mon Sep 17 00:00:00 2001 From: Sphereso Date: Thu, 11 Jul 2024 23:05:59 +0200 Subject: [PATCH] backend: change order --- crates/backend/src/routes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)