From 66cc2dab2becf1fe54fddf93d573f99c6c127dcf Mon Sep 17 00:00:00 2001 From: Reto Aebersold Date: Fri, 8 Dec 2023 10:20:54 +0100 Subject: [PATCH] fix: round points for now --- server/vbv_lernwelt/dashboard/graphql/queries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/vbv_lernwelt/dashboard/graphql/queries.py b/server/vbv_lernwelt/dashboard/graphql/queries.py index ca278d15..7579fd56 100644 --- a/server/vbv_lernwelt/dashboard/graphql/queries.py +++ b/server/vbv_lernwelt/dashboard/graphql/queries.py @@ -148,8 +148,8 @@ class DashboardQuery(graphene.ObjectType): assignment=ProgressDashboardAssignmentType( # noqa _id=course_id, # noqa total_count=len(evaluation_results), # noqa - points_max_count=points_max_count, # noqa - points_achieved_count=points_achieved_count, # noqa + points_max_count=int(points_max_count), # noqa + points_achieved_count=int(points_achieved_count), # noqa ), )