From: Izalia Mae <2908-izalia@users.noreply.git.pleroma.social> Date: Sat, 5 Dec 2020 05:34:58 +0000 (+0000) Subject: Apply 1 suggestion(s) to 1 file(s) X-Git-Tag: 0.1.0~5^2~1 X-Git-Url: https://reisub.nsupdate.info/git/?p=relay.git%2F.git;a=commitdiff_plain;h=63be7f20348e304d2e16e2bb0a18833506eb3450 Apply 1 suggestion(s) to 1 file(s) --- 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