diff --git a/packages/cli/src/commands/import/workflow.ts b/packages/cli/src/commands/import/workflow.ts index 48146e9583..5ae3a529d7 100644 --- a/packages/cli/src/commands/import/workflow.ts +++ b/packages/cli/src/commands/import/workflow.ts @@ -65,11 +65,12 @@ export class ImportWorkflowsCommand extends BaseCommand { private transactionManager: EntityManager; - private tagService = Container.get(TagService); + private tagService: TagService; async init() { disableAutoGeneratedIds(WorkflowEntity); await super.init(); + this.tagService = Container.get(TagService); } async run(): Promise {