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