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