Fix call to ES now that we use OpenSearch

This commit is contained in:
2022-05-13 16:23:13 +01:00
parent 6121ddb996
commit 3973413f51

View File

@@ -448,7 +448,7 @@ class Local(util.Base):
"xtype": "platform", "xtype": "platform",
"market": self.platform, "market": self.platform,
} }
self.es.index(index=settings.ES.MetaIndex, document=cast) self.es.index(index=settings.ES.MetaIndex, body=cast)
@inlineCallbacks @inlineCallbacks
def slow_ad_update(self, ads): def slow_ad_update(self, ads):