Fix call to ES now that we use OpenSearch
This commit is contained in:
parent
6121ddb996
commit
3973413f51
|
@ -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…
Reference in New Issue