[twitter] Fix typo in API path for unfollowing

pull/1186/head
Hypolite Petovan 2021-10-09 01:58:55 -04:00
parent d37f779908
commit 7cc6f3f4a3
1 changed files with 1 additions and 1 deletions

View File

@ -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)