This commit is contained in:
parent
ac459031c7
commit
88bbeded0f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user