remove redundant (and maybe wrong) GET params from webfinger call

closes #143
This commit is contained in:
jesopo 2019-09-09 10:30:06 +01:00
parent b1033a0721
commit 98931de283

View file

@ -61,9 +61,7 @@ class Module(ModuleManager.BaseModule):
webfinger_url = webfinger_url.replace("{uri}", "acct:%s" % account) webfinger_url = webfinger_url.replace("{uri}", "acct:%s" % account)
webfinger = utils.http.request(webfinger_url, webfinger = utils.http.request(webfinger_url,
headers=WEBFINGER_HEADERS, headers=WEBFINGER_HEADERS, json=True)
get_params={"resource": "acct:%s" % account},
json=True)
activity_url = None activity_url = None
for link in webfinger.data["links"]: for link in webfinger.data["links"]: