lib/hubspot/codegen/communication_preferences/api/definition_api.rb in hubspot-api-client-11.2.0 vs lib/hubspot/codegen/communication_preferences/api/definition_api.rb in hubspot-api-client-12.0.0
- old
+ new
@@ -56,10 +56,10 @@
# return_type
return_type = opts[:return_type] || 'SubscriptionDefinitionsResponse'
# auth_names
- auth_names = opts[:auth_names] || ['hapikey']
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
new_options = opts.merge(
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,