diff --git a/lib/hubspot/company.rb b/lib/hubspot/company.rb index 8f6e2d77..eb956faa 100644 --- a/lib/hubspot/company.rb +++ b/lib/hubspot/company.rb @@ -70,7 +70,7 @@ def recently_modified(opts = {}) Hubspot::PagedCollection.new(opts) do |options, offset, limit| response = Hubspot::Connection.get_json( RECENTLY_MODIFIED_PATH, - {offset: offset, count: limit} + options.merge(offset: offset, limit: limit) ) companies = response["results"].map { |result| from_result(result) }