We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de3b7be + f2b11db commit 95e35c3Copy full SHA for 95e35c3
src/Infusionsoft/Api/Rest/TagService.php
@@ -54,8 +54,8 @@ public function addContacts($contactIds)
54
throw new InfusionsoftException('A maximum of 100 contact ids can be modified at once');
55
}
56
57
- $contacts = new \stdClass();
58
- $contacts->ids = $contactIds;
+ $contacts = [];
+ $contacts['ids'] = $contactIds;
59
60
$response = $this->client->restfulRequest('post', $this->getFullUrl($this->id . '/contacts'), $contacts);
61
0 commit comments