Collection invitation: fix the wrong field type
This commit is contained in:
parent
1cb84cfa6d
commit
7eb08d2946
@ -386,7 +386,7 @@ class CollectionInvitationSerializer(BetterErrorsMixin, serializers.ModelSeriali
|
|||||||
style={"base_template": "input.html"},
|
style={"base_template": "input.html"},
|
||||||
)
|
)
|
||||||
collection = serializers.CharField(source="collection.uid")
|
collection = serializers.CharField(source="collection.uid")
|
||||||
fromUsername = BinaryBase64Field(source="fromMember.user.username", read_only=True)
|
fromUsername = serializers.CharField(source="fromMember.user.username", read_only=True)
|
||||||
fromPubkey = BinaryBase64Field(source="fromMember.user.userinfo.pubkey", read_only=True)
|
fromPubkey = BinaryBase64Field(source="fromMember.user.userinfo.pubkey", read_only=True)
|
||||||
signedEncryptionKey = BinaryBase64Field()
|
signedEncryptionKey = BinaryBase64Field()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user