mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 13:01:12 +03:00
func user_info fixed + "temporary" removed
This commit is contained in:
parent
f402d3d441
commit
3ff68fc4a6
3 changed files with 9 additions and 10 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue