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

See #170: fixed a remaining issue with r2b

parent 9bc90bec
...@@ -164,7 +164,7 @@ def inbox_create_audio(payload, context): ...@@ -164,7 +164,7 @@ def inbox_create_audio(payload, context):
if is_channel: if is_channel:
channel = context["actor"].get_channel() channel = context["actor"].get_channel()
serializer = serializers.ChannelCreateUploadSerializer( serializer = serializers.ChannelCreateUploadSerializer(
data=payload["object"], context={"channel": channel}, data=payload, context={"channel": channel},
) )
else: else:
serializer = serializers.UploadSerializer( serializer = serializers.UploadSerializer(
......
Supports Markdown
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