'ap_utils.request' -> 'ap_utils.activity_request'. dont pass privkey

This commit is contained in:
jesopo 2019-09-15 11:56:03 +01:00
parent f5ab4f690a
commit 676bb53f43

View file

@ -50,6 +50,6 @@ class Inbox(object):
sign_headers.insert(0, ["(request-target)", "post %s" % parts.path])
signature = ap_security.signature(private_key, sign_headers)
return ap_utils.request(self._url, activity.format(self),
method="POST", private_key=private_key)
return ap_utils.activity_request(self._url, activity.format(self),
method="POST")