mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 23:59:45 +02:00
Fix for shopping list recipe delete route (#1954)
* fixed broken types * changed remove recipe route from delete to post
This commit is contained in:
parent
46cc3898ab
commit
c4eebaccca
5 changed files with 22 additions and 14 deletions
|
@ -279,6 +279,11 @@ def groups_shopping_lists_item_id_recipe_recipe_id(item_id, recipe_id):
|
|||
return f"{prefix}/groups/shopping/lists/{item_id}/recipe/{recipe_id}"
|
||||
|
||||
|
||||
def groups_shopping_lists_item_id_recipe_recipe_id_delete(item_id, recipe_id):
|
||||
"""`/api/groups/shopping/lists/{item_id}/recipe/{recipe_id}/delete`"""
|
||||
return f"{prefix}/groups/shopping/lists/{item_id}/recipe/{recipe_id}/delete"
|
||||
|
||||
|
||||
def groups_webhooks_item_id(item_id):
|
||||
"""`/api/groups/webhooks/{item_id}`"""
|
||||
return f"{prefix}/groups/webhooks/{item_id}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue