|
|
@ -313,11 +313,11 @@ class InvitationAcceptSerializer(serializers.Serializer):
|
|
|
|
encryption_key = validated_data.get('encryptionKey')
|
|
|
|
encryption_key = validated_data.get('encryptionKey')
|
|
|
|
|
|
|
|
|
|
|
|
member = models.CollectionMember.objects.create(
|
|
|
|
member = models.CollectionMember.objects.create(
|
|
|
|
collection=invitation.collection,
|
|
|
|
collection=invitation.collection,
|
|
|
|
user=invitation.user,
|
|
|
|
user=invitation.user,
|
|
|
|
accessLevel=invitation.accessLevel,
|
|
|
|
accessLevel=invitation.accessLevel,
|
|
|
|
encryptionKey=encryption_key,
|
|
|
|
encryptionKey=encryption_key,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
invitation.delete()
|
|
|
|
invitation.delete()
|
|
|
|
|
|
|
|
|
|
|
|