From 42c46d7d5ce2cc4c599f2e5473d7a037e84dfd20 Mon Sep 17 00:00:00 2001 From: Geometrically Date: Sat, 26 Dec 2020 12:20:23 -0700 Subject: [PATCH] Fix incorrect route for team fetching --- src/routes/users.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/users.rs b/src/routes/users.rs index 0eca4d05b..a041e9e5b 100644 --- a/src/routes/users.rs +++ b/src/routes/users.rs @@ -148,7 +148,7 @@ pub async fn mods_list( } } -#[get("teams")] +#[get("{user_id}/teams")] pub async fn teams( req: HttpRequest, info: web::Path<(UserId,)>,