func user_info fixed + "temporary" removed

This commit is contained in:
Shiroyasha 2024-07-26 00:38:54 +03:00
parent f402d3d441
commit 3ff68fc4a6
Signed by: shiroyashik
GPG key ID: E4953D3940D7860A
3 changed files with 9 additions and 10 deletions

View file

@ -118,7 +118,7 @@ async fn main() -> Result<()> {
.route("/motd", get(api_info::motd))
.route("/equip", post(api_profile::equip_avatar))
.route("/:uuid", get(api_profile::user_info))
.route("/:uuid/avatar", get(api_profile::download_avatar).layer(DefaultBodyLimit::disable()))
.route("/:uuid/avatar", get(api_profile::download_avatar))
.route("/avatar", put(api_profile::upload_avatar).layer(DefaultBodyLimit::disable()))
.route("/avatar", delete(api_profile::delete_avatar));