Fix: Update Product Prices was one was used instead of all in query.
This commit is contained in:
1 parent
1ef7f98a07
commit
beae4a07c6
1 file changed
+1
-1
@@ -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()
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user