mirror of
https://github.com/thekiwismarthome/shopping-list-manager.git
synced 2026-05-01 11:46:30 +00:00
refactor: Replace storage.get_all_products() with storage.get_products() for product retrieval.
This commit is contained in:
@@ -146,7 +146,7 @@ async def ws_get_products_by_ids(
|
||||
product_ids = set(msg["product_ids"])
|
||||
|
||||
# Get all products from storage
|
||||
all_products = storage.get_all_products()
|
||||
all_products = storage.get_products()
|
||||
|
||||
products = [
|
||||
product.to_dict()
|
||||
|
||||
Reference in New Issue
Block a user