_ap_self_url no longer takes a username param

This commit is contained in:
jesopo 2019-09-15 11:24:59 +01:00
parent 13b25dc55d
commit 769d4e1a28

View file

@ -77,7 +77,7 @@ class Server(object):
if (requested_username == self.username and
requested_instance == self.instance):
self_id = self._ap_self_url(event["url_for"], self.username)
self_id = self._ap_self_url(event["url_for"])
event["response"].content_type = ap_utils.JRD_TYPE
event["response"].write_json({