mirror of
https://github.com/thekiwismarthome/shopping-list-manager.git
synced 2026-05-01 11:46:30 +00:00
fix: Change the default value of the loyalty card 'private' field to true in the websocket handler.
This commit is contained in:
@@ -1097,7 +1097,7 @@ async def websocket_get_loyalty_cards(
|
||||
vol.Optional("logo", default=""): str,
|
||||
vol.Optional("notes", default=""): str,
|
||||
vol.Optional("color", default="#9fa8da"): str,
|
||||
vol.Optional("private", default=False): bool,
|
||||
vol.Optional("private", default=True): bool,
|
||||
})
|
||||
@websocket_api.async_response
|
||||
async def websocket_add_loyalty_card(
|
||||
|
||||
Reference in New Issue
Block a user