From 1879704994054fd828febd3ed22cca95eb8c8c8e Mon Sep 17 00:00:00 2001 From: Xander Bil Date: Sat, 22 Jun 2024 22:10:14 +0200 Subject: [PATCH] change to ranked route --- src/controllers/users_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/users_controller.rs b/src/controllers/users_controller.rs index 56b4026..827dde7 100644 --- a/src/controllers/users_controller.rs +++ b/src/controllers/users_controller.rs @@ -59,7 +59,7 @@ pub async fn show_user<'r>( } } -#[get("/users/keys/")] +#[get("/users//keys", rank = 1)] pub async fn show_ssh_key<'r>( db: DbConn, username: String,