lib/elastic/app-search/api/count_analytics.rb in elastic-enterprise-search-8.0.1 vs lib/elastic/app-search/api/count_analytics.rb in elastic-enterprise-search-8.1.0
- old
+ new
@@ -35,10 +35,9 @@
#
def count_analytics(engine_name, arguments = {})
raise ArgumentError, "Required parameter 'engine_name' missing" unless engine_name
body = arguments.delete(:body) || {}
-
headers = arguments.delete(:headers) || {}
request(
:post,
"api/as/v1/engines/#{engine_name}/analytics/counts/",
arguments,