diff --git a/mealie/routes/recipe/recipe_crud_routes.py b/mealie/routes/recipe/recipe_crud_routes.py index c7f964dcf..82f8b2073 100644 --- a/mealie/routes/recipe/recipe_crud_routes.py +++ b/mealie/routes/recipe/recipe_crud_routes.py @@ -97,9 +97,7 @@ def delete_recipe( try: recipe: Recipe = db.recipes.delete(session, recipe_slug) delete_assets(recipe_slug=recipe_slug) - create_recipe_event( - "Recipe Deleted", f"'{recipe.name}' deleted by {current_user.full_name}", session=session - ) + create_recipe_event("Recipe Deleted", f"'{recipe.name}' deleted by {current_user.full_name}", session=session) return recipe except Exception: raise HTTPException(status.HTTP_400_BAD_REQUEST)