Fix call to ES now that we use OpenSearch

This commit is contained in:
Mark Veidemanis 2022-05-13 16:23:13 +01:00
parent 6121ddb996
commit 3973413f51
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

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):