fixed incorrect update status map

This commit is contained in:
2025-02-03 10:32:43 -06:00
parent 730cbc6733
commit 9f0d28d919
+1 -1
View File
@@ -76,7 +76,7 @@ inventoryGroup.MapPut("/{id}", async (int id, InventoryItems updatedItem, BarkCo
existingItem.Barcode = updatedItem.Barcode; existingItem.Barcode = updatedItem.Barcode;
existingItem.Brand = updatedItem.Brand; existingItem.Brand = updatedItem.Brand;
existingItem.SerialNumber = updatedItem.SerialNumber; existingItem.SerialNumber = updatedItem.SerialNumber;
existingItem.Status = updatedItem.Status; existingItem.StatusId = updatedItem.StatusId;
existingItem.RentalPrice = updatedItem.RentalPrice; existingItem.RentalPrice = updatedItem.RentalPrice;
existingItem.ReplacementCost = updatedItem.ReplacementCost; existingItem.ReplacementCost = updatedItem.ReplacementCost;
existingItem.Notes = updatedItem.Notes; existingItem.Notes = updatedItem.Notes;