Skip to content

Commit 78539c8

Browse files
try to make CI happy
1 parent fc35826 commit 78539c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ASP.Net Core API Gateway - 01/Warehouse.ViewModelComposition/CompositionHandlers/ProductDetailsCompositionHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public async Task Get(string id)
1818
dynamic stockItem = await response.Content.AsExpando();
1919

2020
dynamic vm = httpContextAccessor.HttpContext.Request.GetComposedResponseModel();
21-
vm.ProductInventory = stockItem.Inventory;
21+
vm.ProductInventory = (int)stockItem.Inventory;
2222
vm.ProductOutOfStock = stockItem.Inventory == 0;
2323
}
2424
}

0 commit comments

Comments
 (0)