mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-09 18:08:00 +00:00
Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
bc0914b5c1
commit
63be7f2034
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue