all resources done
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-13 22:32:40 +01:00
parent 70c473dc76
commit 00cacf77b7
5 changed files with 38 additions and 4 deletions

View File

@ -6,7 +6,7 @@ from .ingredientschema import IngredientSchema
class MealSchema(ma.SQLAlchemyAutoSchema):
ingredients = ma.Nested(IngredientSchema, many=True)
ingredients = ma.Nested(IngredientSchema, many=True, required=True)
class Meta:
model = Meal