Revision: expose meta.

This commit is contained in:
Tom Hacohen 2020-03-17 22:11:18 +02:00
parent 80ef568397
commit 2ac0b55de9

View File

@ -66,7 +66,7 @@ class CollectionItemRevisionBaseSerializer(serializers.ModelSerializer):
class Meta: class Meta:
model = models.CollectionItemRevision model = models.CollectionItemRevision
fields = ('chunks', 'uid', 'deleted') fields = ('chunks', 'meta', 'uid', 'deleted')
class CollectionItemRevisionSerializer(CollectionItemRevisionBaseSerializer): class CollectionItemRevisionSerializer(CollectionItemRevisionBaseSerializer):