Verified Commit ffca67ef authored by Eliot Berriot's avatar Eliot Berriot
Browse files

FIxed issue with AP actors without attachments

parent 975e2aac
......@@ -55,5 +55,7 @@ class ActorSerializer(serializers.Serializer):
id = serializers.URLField()
summary = serializers.CharField(required=False)
url = serializers.URLField(required=False)
attachment = serializers.ListField(child=AttachmentSerializer(), min_length=1)
attachment = serializers.ListField(
child=AttachmentSerializer(), min_length=0, required=False
)
tag = serializers.ListField(child=TagSerializer(), min_length=0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment