mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 20:23:41 +00:00
[twitter] Fix typo in API path for unfollowing
This commit is contained in:
parent
d37f779908
commit
7cc6f3f4a3
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ function twitter_follow(App $a, array &$contact)
|
|||
|
||||
function twitter_unfollow(App $a, array &$hook_data)
|
||||
{
|
||||
$hook_data['result'] = twitter_api_contact('friendship/destroy', $hook_data['contact'], $hook_data['uid']);
|
||||
$hook_data['result'] = twitter_api_contact('friendships/destroy', $hook_data['contact'], $hook_data['contact']['uid']);
|
||||
}
|
||||
|
||||
function twitter_block(App $a, array &$hook_data)
|
||||
|
|
Loading…
Reference in a new issue