mirror of
https://github.com/thekiwismarthome/shopping-list-manager.git
synced 2026-05-01 11:46:30 +00:00
feat: product match review step when adding ingredients to SLM shopping list
This commit is contained in:
@@ -472,7 +472,7 @@ def websocket_get_items(
|
|||||||
vol.Required("type"): WS_TYPE_ITEMS_ADD,
|
vol.Required("type"): WS_TYPE_ITEMS_ADD,
|
||||||
vol.Required("list_id"): str,
|
vol.Required("list_id"): str,
|
||||||
vol.Required("name"): str,
|
vol.Required("name"): str,
|
||||||
vol.Required("category_id"): str,
|
vol.Optional("category_id", default="other"): str,
|
||||||
vol.Optional("product_id"): str,
|
vol.Optional("product_id"): str,
|
||||||
vol.Optional("quantity", default=1): vol.Coerce(float),
|
vol.Optional("quantity", default=1): vol.Coerce(float),
|
||||||
vol.Optional("unit", default="units"): str,
|
vol.Optional("unit", default="units"): str,
|
||||||
|
|||||||
Reference in New Issue
Block a user