Skip to content

Commit

Permalink
fix(workflow-editor): update control values check to handle undefined…
Browse files Browse the repository at this point in the history
… case in upsert workflow use case
  • Loading branch information
BiswaViraj committed Dec 13, 2024
1 parent feac3d5 commit dc0f9e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export class UpsertWorkflowUseCase {
): Promise<WorkflowInternalResponseDto> {
for (const step of workflow.steps) {
const controlValues = this.findControlValueInRequest(step, command.workflowDto.steps);
if (!controlValues) {
if (controlValues === undefined) {
continue;
}
await this.patchStepDataUsecase.execute({
Expand Down

0 comments on commit dc0f9e1

Please sign in to comment.