lib/api_client/connection/basic.rb in api_client-0.5.4 vs lib/api_client/connection/basic.rb in api_client-0.5.5

- old
+ new

@@ -74,10 +74,10 @@ private def exec_request(method, path, data, headers) response = @handler.send(method, path, data, headers) - request = {method: method, path: path, data: data, headers: headers} + request = {method: method, path: path, data: data} handle_response(request, response) rescue Faraday::Error::ConnectionFailed => e raise ApiClient::Errors::ConnectionFailed.new(e.message, request, response) end