diff --git a/barker/barker/routers/update_product_prices.py b/barker/barker/routers/update_product_prices.py index dca262e..e899ac2 100644 --- a/barker/barker/routers/update_product_prices.py +++ b/barker/barker/routers/update_product_prices.py @@ -91,7 +91,7 @@ def update_product_prices_list( return [ UpdateProductPricesItem(id=item.product_id, name=item.full_name, oldPrice=item.price, newPrice=item.price) - for item in db.execute(list_).scalars().one() + for item in db.execute(list_).scalars().all() ]