mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-17 15:55:13 -05: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:
@@ -268,7 +268,7 @@ class ShoppingListController(BaseCrudController):
|
||||
|
||||
return shopping_list
|
||||
|
||||
@router.delete("/{item_id}/recipe/{recipe_id}", response_model=ShoppingListOut)
|
||||
@router.post("/{item_id}/recipe/{recipe_id}/delete", response_model=ShoppingListOut)
|
||||
def remove_recipe_ingredients_from_list(
|
||||
self, item_id: UUID4, recipe_id: UUID4, data: ShoppingListRemoveRecipeParams | None = None
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user