From cf48fa4a29de6cb25571d6f9b4947a315b540d4c Mon Sep 17 00:00:00 2001 From: Christian Cwienk Date: Fri, 8 Nov 2024 13:16:32 +0100 Subject: [PATCH] fix warning / switch from deprecated attribute --- ccc/elasticsearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccc/elasticsearch.py b/ccc/elasticsearch.py index 750dfbe8c..1fefd5ec9 100644 --- a/ccc/elasticsearch.py +++ b/ccc/elasticsearch.py @@ -130,7 +130,7 @@ def store_document( return self._api.index( index=index, doc_type='_doc', - body=body, + document=body, *args, **kwargs, )