Skip to content

Commit 95e35c3

Browse files
authored
Merge pull request #324 from gguenther24/fixIssue323
fix issue #323
2 parents de3b7be + f2b11db commit 95e35c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Infusionsoft/Api/Rest/TagService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public function addContacts($contactIds)
5454
throw new InfusionsoftException('A maximum of 100 contact ids can be modified at once');
5555
}
5656

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

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

0 commit comments

Comments
 (0)