Skip to content

Commit

Permalink
Fix fetch company list endpoint
Browse files Browse the repository at this point in the history
Fetching companies from a paginated list is currently broken.

The issue is described here in more detail: HubSpot#324

This commit implements the fix suggested there which updates the attribute type mapping in CollectionResponseLong to expect an array of hashes.
  • Loading branch information
WillRogers727 committed Jul 9, 2024
1 parent 19a6bf1 commit 205042b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def self.acceptable_attributes
def self.openapi_types
{
:'paging' => :'Paging',
:'results' => :'Array<Integer>'
:'results' => :'Array<Hash<String, String>>',
}
end

Expand Down

0 comments on commit 205042b

Please sign in to comment.