fix: item ids
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 8s
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 8s
This commit is contained in:
@@ -60,7 +60,6 @@ public class ItemsController : ControllerBase {
|
|||||||
if(oldItem == null) return NotFound();
|
if(oldItem == null) return NotFound();
|
||||||
|
|
||||||
Item updatedItem = new Item {
|
Item updatedItem = new Item {
|
||||||
Id = oldItem.Id,
|
|
||||||
Name = item.Name,
|
Name = item.Name,
|
||||||
Description = item.Description,
|
Description = item.Description,
|
||||||
CreatedAt = oldItem.CreatedAt,
|
CreatedAt = oldItem.CreatedAt,
|
||||||
|
|||||||
Reference in New Issue
Block a user