ES: change PUT update argument (#1216)

This commit is contained in:
Tom Kralidis
2023-04-12 12:19:10 -04:00
committed by GitHub
parent 5e9c82a34d
commit 627f2228ab
+1 -1
View File
@@ -430,7 +430,7 @@ class ElasticsearchProvider(BaseProvider):
identifier, json_data = self._load_and_prepare_item(
item, identifier, raise_if_exists=False)
_ = self.es.index(index=self.index_name, id=identifier, **json_data)
_ = self.es.index(index=self.index_name, id=identifier, body=json_data)
return True