Fix inventory ids

This commit is contained in:
2026-03-10 21:46:31 -06:00
parent b4e2d1cd2f
commit 7518e15a6b

View File

@@ -232,7 +232,7 @@ public class InventoryController {
private Inventory mapToInventory(InventoryResponse response) { private Inventory mapToInventory(InventoryResponse response) {
return new Inventory( return new Inventory(
response.getInventoryId().intValue(), response.getInventoryId().intValue(),
0, response.getProdId() != null ? response.getProdId().intValue() : 0,
response.getProductName(), response.getProductName(),
response.getCategoryName() != null ? response.getCategoryName() : "", response.getCategoryName() != null ? response.getCategoryName() : "",
0, 0,