Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
bessudnov committed Nov 13, 2020
2 parents 818dcb6 + 3406779 commit aba5b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/contacts_actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function (AccessTokenInterface $accessToken, string $baseDomain) {
$links = new LinksCollection();
$links->add($lead);
try {
$apiClient->contacts()->unlink($contactModel, $links);
$apiClient->contacts()->link($contactModel, $links);
} catch (AmoCRMApiException $e) {
printError($e);
die;
Expand Down

0 comments on commit aba5b0a

Please sign in to comment.