You've already forked AstralRinth
forked from didirus/AstralRinth
Fix incorrect route for team fetching (#117)
* Fix invites failing * Fix incorrect route for team fetching
This commit is contained in:
@@ -148,7 +148,7 @@ pub async fn mods_list(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[get("teams")]
|
#[get("{user_id}/teams")]
|
||||||
pub async fn teams(
|
pub async fn teams(
|
||||||
req: HttpRequest,
|
req: HttpRequest,
|
||||||
info: web::Path<(UserId,)>,
|
info: web::Path<(UserId,)>,
|
||||||
|
|||||||
Reference in New Issue
Block a user