'ap_utils.request' -> 'ap_utils.activity_request'. dont pass privkey
This commit is contained in:
parent
f5ab4f690a
commit
676bb53f43
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue