From 4bc46577ddfe4cc288772fc10c376f3fe907163d Mon Sep 17 00:00:00 2001 From: kajo24 <67791504+karjo24@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:18:43 +0200 Subject: [PATCH] Fixes usage of AddDocumentsInBatches --- tools/meiliExporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/meiliExporter.go b/tools/meiliExporter.go index 14253f4b8..d68d8f0b2 100644 --- a/tools/meiliExporter.go +++ b/tools/meiliExporter.go @@ -140,7 +140,7 @@ func (m *MeiliExporter) Export() { Visibility: course.Visibility, } } - _, err := coursesIndex.AddDocumentsInBatches(&meilicourses, 500, "ID") + _, err := coursesIndex.AddDocumentsInBatches(meilicourses, 500, "ID") if err != nil { logger.Error("issue adding courses to meili", "err", err) }