Fix call to ES now that we use OpenSearch

master
Mark Veidemanis 2 years ago
parent 6121ddb996
commit 3973413f51
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

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

Loading…
Cancel
Save