Fix inventory ids
This commit is contained in:
@@ -232,7 +232,7 @@ public class InventoryController {
|
||||
private Inventory mapToInventory(InventoryResponse response) {
|
||||
return new Inventory(
|
||||
response.getInventoryId().intValue(),
|
||||
0,
|
||||
response.getProdId() != null ? response.getProdId().intValue() : 0,
|
||||
response.getProductName(),
|
||||
response.getCategoryName() != null ? response.getCategoryName() : "",
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user