alittlebroken / recipefinder-client

0 stars 0 forks source link

Removing a recipe from a cookbook removes all recipes from the cookbook #118

Closed alittlebroken closed 9 months ago

alittlebroken commented 9 months ago

The API backend uses the removeAll function for the cookbookRecipes model but tries to filter to ensure the delete statement has a where clause.

It seems this is either not applied or it is ignored.

alittlebroken commented 9 months ago

The Backend API routes and functions to delete a singular recipe from a cookbook have been setup abd tested OK