We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e359af commit ec96199Copy full SHA for ec96199
api/serializers.py
@@ -723,6 +723,10 @@ def to_representation(self, instance):
723
724
class AnnotationSerializer(serializers.ModelSerializer):
725
class AnnotationFeedbackSerializer(serializers.ModelSerializer):
726
+ def validate_public_note(self, value):
727
+ # edited_user_notes can not be null, cast to blank.
728
+ return value or ""
729
+
730
def validate_internal_note(self, value):
731
# tiger_certainty_notes can not be null, cast to blank.
732
return value or ""
0 commit comments