From 8e1917323dc42bee229a2a748e0c253a54cfba25 Mon Sep 17 00:00:00 2001 From: Their Name Date: Sun, 23 Jan 2022 17:31:45 +0000 Subject: [PATCH] fix 500, typo --- common/search/meilisearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/search/meilisearch.py b/common/search/meilisearch.py index 3506eb8e..e9e63a1f 100644 --- a/common/search/meilisearch.py +++ b/common/search/meilisearch.py @@ -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: