Skip to content

Commit f2b11db

Browse files
committed
fix issue #323
1 parent de3b7be commit f2b11db

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)