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