From 63be7f20348e304d2e16e2bb0a18833506eb3450 Mon Sep 17 00:00:00 2001 From: Izalia Mae <2908-izalia@users.noreply.git.pleroma.social> Date: Sat, 5 Dec 2020 05:34:58 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- relay/actor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/actor.py b/relay/actor.py index 4264cca..b45ee6f 100644 --- a/relay/actor.py +++ b/relay/actor.py @@ -120,7 +120,7 @@ async def fetch_nodeinfo(domain): if not nodeinfo_url: return - nodeinfo_data = await fetch_actor(nodeinfo_url) + nodeinfo_data = await fetch_actor(nodeinfo_url, headers=headers) software = nodeinfo_data.get('software') return software.get('name') if software else None -- 2.20.1