forked from friendica/friendica-addons
[tumblr] Update call to OAuthRequest::from_consumer_and_token after definition change
This commit is contained in:
parent
a76e9a1226
commit
2a3689976e
|
@ -234,7 +234,7 @@ class TumblrOAuth
|
||||||
$url = "{$this->host}{$url}";
|
$url = "{$this->host}{$url}";
|
||||||
}
|
}
|
||||||
|
|
||||||
$request = OAuthRequest::from_consumer_and_token($this->consumer, $this->token, $method, $url, $parameters);
|
$request = OAuthRequest::from_consumer_and_token($this->consumer, $method, $url, $parameters, $this->token);
|
||||||
$request->sign_request($this->sha1_method, $this->consumer, $this->token);
|
$request->sign_request($this->sha1_method, $this->consumer, $this->token);
|
||||||
switch ($method) {
|
switch ($method) {
|
||||||
case 'GET':
|
case 'GET':
|
||||||
|
|
Loading…
Reference in a new issue