lib/hubspot/discovery/base_api_client.rb in hubspot-api-client-17.1.0 vs lib/hubspot/discovery/base_api_client.rb in hubspot-api-client-17.1.1
- old
+ new
@@ -44,10 +44,10 @@
def new_config
require_codegen "#{codegen_module_path}/configuration"
config = Kernel.const_get("#{codegen_module_name}::Configuration").new
config.access_token = base_params[:access_token] if base_params[:access_token]
config.api_key['hapikey'] = base_params[:api_key] if base_params[:api_key]
- config.api_key['hapikey'] = base_params[:developer_api_key] if base_params[:developer_api_key]
+ config.api_key['developer_hapikey'] = base_params[:developer_api_key] if base_params[:developer_api_key]
config
end
def require_codegen(path)
Hubspot::Helpers::Path.new.require_with_codegen_mapping(path)