fix 500, typo

This commit is contained in:
Their Name 2022-01-23 17:31:45 +00:00
parent ebc33ce352
commit 8e1917323d

View file

@ -114,7 +114,7 @@ class Indexer:
except Exception as e:
logger.error(f"replace item error: \n{e}")
def replace_item(self, objects):
def replace_batch(self, objects):
try:
self.instance().update_documents(documents=objects)
except Exception as e: