chore(types): fix example for createProductOptionValues in TSDocs and docs (#12623)
This commit is contained in:
-3
@@ -26,11 +26,9 @@ This method is used to create product option values.
|
||||
const options = await productModuleService.createProductOptionValues([
|
||||
{
|
||||
value: "Blue",
|
||||
option_id: "opt_123",
|
||||
},
|
||||
{
|
||||
value: "Green",
|
||||
option_id: "opt_123",
|
||||
},
|
||||
])
|
||||
```
|
||||
@@ -52,7 +50,6 @@ This method is used to create a product option.
|
||||
```ts
|
||||
const option = await productModuleService.createProductOptionValues({
|
||||
value: "Blue",
|
||||
option_id: "opt_123",
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user