Skip to content

Commit

Permalink
Merge pull request #324 from gguenther24/fixIssue323
Browse files Browse the repository at this point in the history
fix issue #323
  • Loading branch information
ROMzombie authored Apr 8, 2024
2 parents de3b7be + f2b11db commit 95e35c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Infusionsoft/Api/Rest/TagService.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public function addContacts($contactIds)
throw new InfusionsoftException('A maximum of 100 contact ids can be modified at once');
}

$contacts = new \stdClass();
$contacts->ids = $contactIds;
$contacts = [];
$contacts['ids'] = $contactIds;

$response = $this->client->restfulRequest('post', $this->getFullUrl($this->id . '/contacts'), $contacts);

Expand Down

0 comments on commit 95e35c3

Please sign in to comment.