docs: fix transformer option name for algolia (#4253)
This commit is contained in:
1 parent
3e2fe07d0a
commit
926e284bac
2 files changed
+2
-2
No files matched your search
@@ -176,7 +176,7 @@ const plugins = [
|
|||||||
"images",
|
"images",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
transform: (product) => ({
|
transformer: (product) => ({
|
||||||
id: product.id,
|
id: product.id,
|
||||||
// other attributes...
|
// other attributes...
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ const plugins = [
|
|||||||
"images",
|
"images",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
transform: (product) => ({
|
transformer: (product) => ({
|
||||||
id: product.id,
|
id: product.id,
|
||||||
// other attributes...
|
// other attributes...
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in new issue
Block a user