backend: change order

This commit is contained in:
Sphereso 2024-07-11 23:05:59 +02:00
parent 8602142210
commit 9f42d387c4

View file

@ -9,8 +9,8 @@ pub fn config(cfg: &mut web::ServiceConfig) {
.get(UserController::list_users) .get(UserController::list_users)
.post(UserController::create_user), .post(UserController::create_user),
) )
.service(web::resource("/users/{user_id}"))
.route("/users/me", web::get().to(UserController::get_current_user)) .route("/users/me", web::get().to(UserController::get_current_user))
.service(web::resource("/users/{user_id}"))
.service( .service(
web::resource("/licenses") web::resource("/licenses")
.get(LicenseController::list_groups) .get(LicenseController::list_groups)