lib/elasticsearch/api/namespace/common.rb in elasticsearch-api-6.0.1 vs lib/elasticsearch/api/namespace/common.rb in elasticsearch-api-6.0.2
- old
+ new
@@ -15,11 +15,11 @@
end
end
# Delegates the `perform_request` method to the wrapped client
#
- def perform_request(method, path, params={}, body=nil)
- client.perform_request method, path, params, body
+ def perform_request(method, path, params={}, body=nil, headers=nil)
+ client.perform_request method, path, params, body, headers
end
end
end
end