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:
Mohsen
2024-11-21 14:14:57 +00:00
committed by GitHub
parent 25d1dfdea5
commit 9e5e4c9f25
@@ -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