From b04ba47a388bbe59f15f9f5f0945f5301a68e0a8 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Wed, 8 Apr 2020 14:36:40 +0200 Subject: [PATCH] See #170: fixed a remaining issue with r2b --- api/funkwhale_api/federation/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/funkwhale_api/federation/routes.py b/api/funkwhale_api/federation/routes.py index f5429e6b2..cf8596c29 100644 --- a/api/funkwhale_api/federation/routes.py +++ b/api/funkwhale_api/federation/routes.py @@ -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(