Create workflow setup command (#8406)
Steps to enable workflows: - enable feature flags - run metadata sync - run this command If the feature flag is not true, the command will fail. Which will be useful to prevent seeding a wrong workspace. Including a little fix for send email aciton error
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
|
||||
import { WorkflowCommandModule } from 'src/modules/workflow/common/commands/workflow-command.module';
|
||||
import { WorkflowQueryHookModule } from 'src/modules/workflow/common/query-hooks/workflow-query-hook.module';
|
||||
import { WorkflowCommonWorkspaceService } from 'src/modules/workflow/common/workspace-services/workflow-common.workspace-service';
|
||||
|
||||
@Module({
|
||||
imports: [WorkflowQueryHookModule],
|
||||
imports: [WorkflowQueryHookModule, WorkflowCommandModule],
|
||||
providers: [WorkflowCommonWorkspaceService],
|
||||
exports: [WorkflowCommonWorkspaceService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user