Skip to content

Commit

Permalink
🐛 [#269] allow null for 'correctionFor'
Browse files Browse the repository at this point in the history
  • Loading branch information
annashamray committed May 28, 2024
1 parent b80bbd8 commit 142ca8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/objects/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class ObjectRecordSerializer(serializers.ModelSerializer):
source="correct",
slug_field="index",
required=False,
allow_null=True,
help_text=_("Index of the record corrected by the current record"),
)
correctedBy = serializers.SlugRelatedField(
Expand Down

0 comments on commit 142ca8c

Please sign in to comment.