Skip to content

Commit

Permalink
Fixes usage of AddDocumentsInBatches
Browse files Browse the repository at this point in the history
  • Loading branch information
karjo24 authored Oct 10, 2024
1 parent 1bc9f8e commit 4bc4657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/meiliExporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4bc4657

Please sign in to comment.