From 3973413f5141486b5d9913faac6e9fa2ee3aea01 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 13 May 2022 16:23:13 +0100 Subject: [PATCH] Fix call to ES now that we use OpenSearch --- handler/sources/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/sources/local.py b/handler/sources/local.py index 4336909..9319998 100644 --- a/handler/sources/local.py +++ b/handler/sources/local.py @@ -448,7 +448,7 @@ class Local(util.Base): "xtype": "platform", "market": self.platform, } - self.es.index(index=settings.ES.MetaIndex, document=cast) + self.es.index(index=settings.ES.MetaIndex, body=cast) @inlineCallbacks def slow_ad_update(self, ads):