feat(medusa): Remove create product unnecessary input config workflow (#5196)
* feat(medusa): Remove create product unnecessary input config workflow * Create sharp-pets-type.md
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/medusa": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
feat(medusa): Remove create product unnecessary input config workflow
|
||||||
@@ -156,12 +156,6 @@ export default async (req, res) => {
|
|||||||
products: [
|
products: [
|
||||||
validated,
|
validated,
|
||||||
] as WorkflowTypes.ProductWorkflow.CreateProductInputDTO[],
|
] as WorkflowTypes.ProductWorkflow.CreateProductInputDTO[],
|
||||||
config: {
|
|
||||||
listConfig: {
|
|
||||||
select: defaultAdminProductFields,
|
|
||||||
relations: defaultAdminProductRelations,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const { result } = await createProductWorkflow.run({
|
const { result } = await createProductWorkflow.run({
|
||||||
|
|||||||
Reference in New Issue
Block a user