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:
Shahed Nasser
2024-07-22 07:17:15 +00:00
committed by GitHub
parent c99cb5c0ca
commit f435c6c7f6
@@ -34,7 +34,7 @@ module.exports = defineConfig({
providers: [
{
resolve: `@medusajs/fulfillment-manual`,
name: "manual",
id: "manual",
options: {
// provider options...
},
@@ -49,5 +49,5 @@ module.exports = defineConfig({
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.
- `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.