add history for room update

This commit is contained in:
2025-09-26 18:49:17 +02:00
parent 1dc71e451b
commit 9212ba53a1
4 changed files with 14 additions and 21 deletions

View File

@@ -9,5 +9,5 @@ pub fn inventory_routes() -> Router<AppState> {
Router::new()
.route("/update_item/{item_id}/{item_amount}", put(update_inventory_item))
.route("/add_item/{item_name/{items_amount}", post(create_inventory_item))
.route("/add_item/{item_name}/{item_amount}", post(create_inventory_item))
}