diff --git a/lti_consumer/lti_1p3/extensions/rest_framework/serializers.py b/lti_consumer/lti_1p3/extensions/rest_framework/serializers.py index 88b42b6b..ee1c6567 100644 --- a/lti_consumer/lti_1p3/extensions/rest_framework/serializers.py +++ b/lti_consumer/lti_1p3/extensions/rest_framework/serializers.py @@ -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')