From 6996dfcd3b8cdcc3dd57dd0c8e370f06e7771d2b Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Sat, 26 Dec 2020 12:25:27 -0700 Subject: [PATCH] Fix incorrect route for team fetching (#117) * Fix invites failing * 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,)>,