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 ), )