Skip to content

Commit

Permalink
Merge pull request #331 from HubSpot/bf/contactsProperties
Browse files Browse the repository at this point in the history
Contact properties bug fix (v2)
  • Loading branch information
ksvirkou-hubspot authored Oct 12, 2020
2 parents 8794b4a + 82e4b58 commit 193496f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/ContactProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function updateGroup(string $groupName, array $properties)
{
$endpoint = "https://api.hubapi.com/contacts/v2/groups/named/{$groupName}";

$group['name'] = $groupName;
$properties['name'] = $groupName;

return $this->client->request('put', $endpoint, ['json' => $properties]);
}
Expand Down

0 comments on commit 193496f

Please sign in to comment.