We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95e35c3 + c49fa5f commit bce942bCopy full SHA for bce942b
1 file changed
src/Infusionsoft/Api/Rest/ContactService.php
@@ -44,8 +44,8 @@ public function addTags($tagIds)
44
throw new InfusionsoftException('A maximum of 100 tag ids can be added at once');
45
}
46
47
- $tags = new \stdClass;
48
- $tags->tagIds = $tagIds;
+ $tags = [];
+ $tags['tagIds'] = $tagIds;
49
50
$response = $this->client->restfulRequest('post', $this->getFullUrl($this->id . '/tags'), $tags);
51
0 commit comments