Set proper name for the steps in the schedule-task page (#9716)
Change `step` to `steps` for the batch workflows.
This commit is contained in:
@@ -85,7 +85,7 @@ type CreateBrandsInput = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const createBrandsStep = createStep(
|
export const createBrandsStep = createStep(
|
||||||
"create-brand-step",
|
"create-brands-step",
|
||||||
async (input: CreateBrandsInput, { container }) => {
|
async (input: CreateBrandsInput, { container }) => {
|
||||||
const brandModuleService: BrandModuleService = container.resolve(
|
const brandModuleService: BrandModuleService = container.resolve(
|
||||||
BRAND_MODULE
|
BRAND_MODULE
|
||||||
@@ -142,7 +142,7 @@ type UpdateBrandsInput = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const updateBrandsStep = createStep(
|
export const updateBrandsStep = createStep(
|
||||||
"update-brand-step",
|
"update-brands-step",
|
||||||
async ({ brands }: UpdateBrandsInput, { container }) => {
|
async ({ brands }: UpdateBrandsInput, { container }) => {
|
||||||
const brandModuleService: BrandModuleService = container.resolve(
|
const brandModuleService: BrandModuleService = container.resolve(
|
||||||
BRAND_MODULE
|
BRAND_MODULE
|
||||||
|
|||||||
Reference in New Issue
Block a user