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:
Tsvetan Nikolov
2023-06-06 11:08:56 +03:00
committed by GitHub
parent eadf13cb21
commit 3e2fe07d0a
2 changed files with 2 additions and 2 deletions

View File

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