docs: fix transformer option in meilisearch documentation (#4250)

* Fixed documentation about meilisearch transformer function

* updated medusa-plugin-meilisearch readme

---------

Co-authored-by: Tsvetan Nikolov <tsvetan.nikolov@coliquio.de>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
authored and GitHub committed 2023-06-06 11:08:56 +03:00
1 parent eadf13cb21
commit 3e2fe07d0a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ const plugins = [
],
},
primaryKey: "id",
transform: (product) => ({
transformer: (product) => ({
id: product.id,
// other attributes...
}),