sample-apps/oauth-app/app/lib/services/hubspot/contacts/update.rb in hubspot-api-client-7.1.0 vs sample-apps/oauth-app/app/lib/services/hubspot/contacts/update.rb in hubspot-api-client-7.1.1

- old
+ new

@@ -7,11 +7,10 @@ @properties = properties end def call basic_api = ::Hubspot::Crm::Contacts::BasicApi.new - params = { auth_names: 'oauth2', body: contact_input } - basic_api.update(@id, params) + basic_api.update(@id, contact_input, auth_names: 'oauth2') end private def contact_input