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:
2 files changed
+2
-2
No files matched your search
@@ -141,7 +141,7 @@ const plugins = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
primaryKey: "id",
|
primaryKey: "id",
|
||||||
transform: (product) => ({
|
transformer: (product) => ({
|
||||||
id: product.id,
|
id: product.id,
|
||||||
// other attributes...
|
// other attributes...
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ Provide powerful indexing and searching features in your commerce application wi
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
primaryKey: "id",
|
primaryKey: "id",
|
||||||
transform: (product) => ({
|
transformer: (product) => ({
|
||||||
id: product.id,
|
id: product.id,
|
||||||
// other attributes...
|
// other attributes...
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in new issue
Block a user