diff --git a/handlers/item.go b/handlers/item.go index 90e412f..7eeefac 100644 --- a/handlers/item.go +++ b/handlers/item.go @@ -21,7 +21,7 @@ var itemTransform func(inp *db.Item) types.DbItem = func(inp *db.Item) types.DbI Proteins: inp.Proteins, Carbs: inp.Carbs, Fats: inp.Fats, - Price: inp.CurrentPrice.Price, + Price: inp.Price, } }