Skip to content
Snippets Groups Projects
Commit 63be7f20 authored by Izalia Mae's avatar Izalia Mae
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent bc0914b5
No related branches found
No related tags found
1 merge request!26Block relays
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment