diff --git a/app/mealie.py b/app/mealie.py index db6762b..ca14758 100644 --- a/app/mealie.py +++ b/app/mealie.py @@ -69,7 +69,7 @@ class MealieClient: ingredients = [] for line in recipe.get("ingredients", []): ingredients.append({ - "referenceId": uuid.uuid4().hex, + "referenceId": str(uuid.uuid4()), "note": line, "isFood": False, "disableAmount": True, @@ -78,8 +78,10 @@ class MealieClient: instructions = [] for text in recipe.get("instructions", []): instructions.append({ - "id": uuid.uuid4().hex, + "id": str(uuid.uuid4()), + "title": "", "text": text, + "ingredientReferences": [], }) return {