Skip to content

Commit 7afb3be

Browse files
committed
📝 [#378] Fix api docs
1 parent 39b8a4d commit 7afb3be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

backend/src/openarchiefbeheer/destruction/api/serializers.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,9 @@ def create(self, validated_data: dict) -> DestructionListReview:
456456
class DestructionListItemReviewSerializer(serializers.ModelSerializer):
457457
zaak = serializers.SerializerMethodField(
458458
help_text=_(
459-
"In the case that the zaak has already been deleted, only the URL field will be returned."
460-
)
459+
"In the case that the zaak has already been deleted, this field will be null."
460+
),
461+
allow_null=True,
461462
)
462463

463464
class Meta:

0 commit comments

Comments
 (0)