Skip to content

Commit

Permalink
fixed ui defintion find
Browse files Browse the repository at this point in the history
  • Loading branch information
Blokh committed Aug 4, 2024
1 parent 7292fd3 commit 44f611b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { UpdateFlowDto, UpdateFlowLanguageDto } from '@/collection-flow/dto/upda
import { UnsupportedFlowTypeException } from '@/collection-flow/exceptions/unsupported-flow-type.exception';
import { FlowConfigurationModel } from '@/collection-flow/models/flow-configuration.model';
import { WorkflowAdapterManager } from '@/collection-flow/workflow-adapter.manager';
import { TokenScope, type ITokenScope } from '@/common/decorators/token-scope.decorator';
import { type ITokenScope, TokenScope } from '@/common/decorators/token-scope.decorator';
import { UseTokenAuthGuard } from '@/common/guards/token-guard/use-token-auth.decorator';
import { WorkflowService } from '@/workflow/workflow.service';
import { ARRAY_MERGE_OPTION, BUILT_IN_EVENT } from '@ballerine/workflow-core';
Expand Down Expand Up @@ -85,6 +85,7 @@ export class ColectionFlowController {
workflow.context,
params.language,
[tokenScope.projectId],
workflow.uiDefinitionId ? { where: { id: workflow.uiDefinitionId } } : {},
);
}

Expand Down

0 comments on commit 44f611b

Please sign in to comment.