From 88bbeded0fb3c6a6b62d1e666a63b8a4da561ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 13 Feb 2022 21:43:59 +0100 Subject: [PATCH] i am retarted --- mealapi/schemas/mealschema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mealapi/schemas/mealschema.py b/mealapi/schemas/mealschema.py index 34b10e5..0849a7b 100644 --- a/mealapi/schemas/mealschema.py +++ b/mealapi/schemas/mealschema.py @@ -7,7 +7,7 @@ from .ingredientschema import IngredientSchema class MealSchema(ma.SQLAlchemyAutoSchema): # A list of author objects - authors = ma.Nested(IngredientSchema, many=True) + ingredients = ma.Nested(IngredientSchema, many=True) class Meta: model = Meal