fix(core-flows): createCustomerGroupsStep, delete created customer groups (#13056)
* fix: createCustomerGroupsStep rollback delete created customer groups instead of customers * Create serious-seahorses-switch.md --------- Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
co-authored by
Carlos R. L. Rodrigues
parent
a6c1329da2
commit
6e66e36d08
@@ -35,6 +35,6 @@ export const createCustomerGroupsStep = createStep(
|
||||
|
||||
const service = container.resolve<ICustomerModuleService>(Modules.CUSTOMER)
|
||||
|
||||
await service.deleteCustomers(createdCustomerGroupIds)
|
||||
await service.deleteCustomerGroups(createdCustomerGroupIds)
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user