From cbc0fd3995f9c0aad475854a783dd05922c452e9 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Fri, 18 Aug 2023 11:32:29 +0800 Subject: [PATCH] feat: add api of body record chart 2 --- app/api/v1/schema/record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/v1/schema/record.py b/app/api/v1/schema/record.py index 80e1813..f8634f5 100644 --- a/app/api/v1/schema/record.py +++ b/app/api/v1/schema/record.py @@ -33,7 +33,7 @@ class BodyRecordChartIn(Schema): class BodyRecordChartNestedOut(Schema): weights = fields.List(fields.Float()) bmis = fields.List(fields.Float()) - x_axis = fields.List(fields.Float()) + x_axis = fields.List(fields.String()) class BodyRecordChartOut(Schema):