avatar fixes and implementation to edit

This commit is contained in:
Evan Carroll 2026-01-17 01:11:05 -06:00
parent acab2f017d
commit c3320ddcce
11 changed files with 1417 additions and 37 deletions

View file

@ -51,6 +51,10 @@ pub fn api_router() -> Router<AppState> {
)
// Avatar routes (require authentication)
.route("/realms/{slug}/avatar", get(avatars::get_avatar))
.route(
"/realms/{slug}/avatar/slot",
axum::routing::put(avatars::assign_slot).delete(avatars::clear_slot),
)
// Inventory routes (require authentication)
.route("/inventory", get(inventory::get_inventory))
.route(