diff --git a/Controllers/InventarController.cs b/Controllers/InventarController.cs index 6f3495e..2c5e5cd 100644 --- a/Controllers/InventarController.cs +++ b/Controllers/InventarController.cs @@ -32,7 +32,7 @@ namespace BuecherwurmAPI.Controllers var itemid = insertItemReturningId(bookId); return Ok(new Item { - Id = itemid, + Id = itemId, BookId = bookId, }); }