docs: fix fulfillment provider option name (#8211)
Change `name` option of a fulfillment module provider to `id`. Closes DOCS-830
This commit is contained in:
1 parent
c99cb5c0ca
commit
f435c6c7f6
1 file changed
+2
-2
@@ -34,7 +34,7 @@ module.exports = defineConfig({
|
|||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
resolve: `@medusajs/fulfillment-manual`,
|
resolve: `@medusajs/fulfillment-manual`,
|
||||||
name: "manual",
|
id: "manual",
|
||||||
options: {
|
options: {
|
||||||
// provider options...
|
// provider options...
|
||||||
},
|
},
|
||||||
@@ -49,5 +49,5 @@ module.exports = defineConfig({
|
|||||||
The `providers` option is an array of objects that accept the following properties:
|
The `providers` option is an array of objects that accept the following properties:
|
||||||
|
|
||||||
- `resolve`: A string indicating either the package name of the module provider or the path to it relative to the `src` directory.
|
- `resolve`: A string indicating either the package name of the module provider or the path to it relative to the `src` directory.
|
||||||
- `name`: A string indicating the provider's unique name.
|
- `id`: A string indicating the provider's unique name or ID.
|
||||||
- `options`: An optional object of the module provider's options.
|
- `options`: An optional object of the module provider's options.
|
||||||
Reference in new issue
Block a user