diff --git a/frontend/lib/api/user/group-shopping-lists.ts b/frontend/lib/api/user/group-shopping-lists.ts index f4100c7fe232..4b9067533ee8 100644 --- a/frontend/lib/api/user/group-shopping-lists.ts +++ b/frontend/lib/api/user/group-shopping-lists.ts @@ -15,6 +15,7 @@ const routes = { shoppingLists: `${prefix}/groups/shopping/lists`, shoppingListsId: (id: string) => `${prefix}/groups/shopping/lists/${id}`, shoppingListIdAddRecipe: (id: string, recipeId: string) => `${prefix}/groups/shopping/lists/${id}/recipe/${recipeId}`, + shoppingListIdRemoveRecipe: (id: string, recipeId: string) => `${prefix}/groups/shopping/lists/${id}/recipe/${recipeId}/delete`, shoppingListItems: `${prefix}/groups/shopping/items`, shoppingListItemsId: (id: string) => `${prefix}/groups/shopping/items/${id}`, @@ -28,8 +29,8 @@ export class ShoppingListsApi extends BaseCRUDAPI None: +def assert_ignore_keys(dict1: dict, dict2: dict, ignore_keys: list | None = None) -> None: """ Itterates through a list of keys and checks if they are in the the provided ignore_keys list, if they are not in the ignore_keys list, it checks the value of the key in the provided against