Fix incorrect route for team fetching (#117)

* Fix invites failing

* Fix incorrect route for team fetching
This commit is contained in:
Geometrically 2020-12-26 12:25:27 -07:00 committed by GitHub
parent 9b31ce83c5
commit 6996dfcd3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,)>,