See #170: fixed a remaining issue with r2b

This commit is contained in:
Eliot Berriot 2020-04-08 14:36:40 +02:00
parent 9bc90bec7c
commit b04ba47a38
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def inbox_create_audio(payload, context):
if is_channel:
channel = context["actor"].get_channel()
serializer = serializers.ChannelCreateUploadSerializer(
data=payload["object"], context={"channel": channel},
data=payload, context={"channel": channel},
)
else:
serializer = serializers.UploadSerializer(