fix: round points for now

This commit is contained in:
Reto Aebersold 2023-12-08 10:20:54 +01:00
parent 0d4202056c
commit 66cc2dab2b
1 changed files with 2 additions and 2 deletions

View File

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