Skip to content

Commit

Permalink
Merge pull request #346 from graymouser/master
Browse files Browse the repository at this point in the history
fix specifying params for get function in CrmAssociations
  • Loading branch information
ksvirkou-hubspot authored May 20, 2021
2 parents fa89e39 + 3c0a9ac commit f414cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/CrmAssociations.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function get($objectId, int $definitionId, array $params = [])

$query_string = null;
if ($params) {
$query_string = http_build_query($params);
$query_string = build_query_string($params);
}

return $this->client->request('get', $endpoint, [], $query_string);
Expand Down

0 comments on commit f414cf1

Please sign in to comment.