mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-13 06:11:55 +00:00
fixed stupid, also page redirect
This commit is contained in:
@@ -87,7 +87,7 @@ inventoryGroup.MapPut("/{id}", async (int id, InventoryItems updatedItem, BarkCo
|
||||
inventoryGroup.MapPost("", async (InventoryItems newItemInput, BarkContext db) =>
|
||||
{
|
||||
var newItem = new InventoryItems();
|
||||
newItemInput.Name = newItem.Name;
|
||||
newItem.Name = newItemInput.Name;
|
||||
newItem.Brand = newItemInput.Brand;
|
||||
newItem.SerialNumber = newItemInput.SerialNumber;
|
||||
newItem.RentalPrice = newItemInput.RentalPrice;
|
||||
|
||||
Reference in New Issue
Block a user