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:
committed by
GitHub
parent
0c9d5ea6d4
commit
f285a67123
5
.changeset/sharp-pets-type.md
Normal file
5
.changeset/sharp-pets-type.md
Normal file
@@ -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: [
|
||||
validated,
|
||||
] as WorkflowTypes.ProductWorkflow.CreateProductInputDTO[],
|
||||
config: {
|
||||
listConfig: {
|
||||
select: defaultAdminProductFields,
|
||||
relations: defaultAdminProductRelations,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
const { result } = await createProductWorkflow.run({
|
||||
|
||||
Reference in New Issue
Block a user