forked from friendica/friendica-addons
[twitter] Fix typo in remote API path for likes
This commit is contained in:
parent
21efea5b50
commit
24740d0ba0
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ function twitter_post_hook(App $a, array &$b)
|
|||
if ($b['verb'] == Activity::LIKE) {
|
||||
Logger::info('Like', ['uid' => $b['uid'], 'id' => twitter_get_id($b["thr-parent"])]);
|
||||
|
||||
twitter_api_post($b['deleted'] ? 'favorite/destroy' : 'favorite/create', twitter_get_id($b["thr-parent"]), $b["uid"]);
|
||||
twitter_api_post($b['deleted'] ? 'favorites/destroy' : 'favorites/create', twitter_get_id($b["thr-parent"]), $b["uid"]);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue