diff --git a/app/api/v1/schema/diet.py b/app/api/v1/schema/diet.py index afeb760..12b2e39 100644 --- a/app/api/v1/schema/diet.py +++ b/app/api/v1/schema/diet.py @@ -5,7 +5,7 @@ from apiflask import fields class DietRecordsIn(Schema): sort = fields.String() current_date = fields.String() - user_id = fields.String() + user_id = fields.String(allow_none=True) class heartOut(Schema):