From a4639a79fd576996a89c415064889847bcad88b8 Mon Sep 17 00:00:00 2001 From: jableader Date: Sun, 19 May 2024 22:11:58 +1000 Subject: [PATCH] Fixed recipe dupe bug --- main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.py b/main.py index 76ae63f..528cf53 100644 --- a/main.py +++ b/main.py @@ -146,10 +146,6 @@ async def get_meal(meal_id: int, conn: sqlite3.Connection = Depends(get_db)) -> if not meal: return JSONResponse(status_code=404, content={'message': 'Meal not found'}) - await meals.load_participants(conn, meal) - await meals.load_recipes(conn, meal) - await meals.load_extra_ingredients(conn, meal) - return meal def get_duplicates(items: List[meals.Person]) -> set[str]: