fix that refactoring

This commit is contained in:
2023-08-29 21:34:00 +02:00
parent 7c6fe7b1b7
commit ee36635e59
4 changed files with 198 additions and 121 deletions

View File

@@ -674,7 +674,7 @@ async fn trip_row(
let item_row = view::trip::TripItemListRow::build(
trip_id,
&item,
models::inventory::Item::get_category_max_weight(
models::inventory::InventoryItem::get_category_max_weight(
&state.database_pool,
item.item.category_id,
)