Skip to content

Commit

Permalink
fix: Allowed blank value for comment to fix ACI LTI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadali286 authored and Anas-hmeed committed Nov 1, 2024
1 parent b31fe4d commit c349165
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class LtiAgsScoreSerializer(serializers.ModelSerializer):
timestamp = serializers.DateTimeField(input_formats=[ISO_8601], format=ISO_8601, default_timezone=timezone.utc)
scoreGiven = serializers.FloatField(source='score_given', required=False, allow_null=True, default=None)
scoreMaximum = serializers.FloatField(source='score_maximum', required=False, allow_null=True, default=None)
comment = serializers.CharField(required=False, allow_null=True)
comment = serializers.CharField(required=False, allow_null=True, allow_blank=True)
activityProgress = serializers.CharField(source='activity_progress')
gradingProgress = serializers.CharField(source='grading_progress')
userId = serializers.CharField(source='user_id')
Expand Down

0 comments on commit c349165

Please sign in to comment.