mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
fix(core): Fix import:workflow command (#6996)
Ref: https://github.com/n8n-io/n8n/actions/runs/5946170960 To test: ```sh ./packages/cli/bin/n8n export:workflow --all --output=./all-workflows.json ./packages/cli/bin/n8n import:workflow --input=./all-workflows.json ```
This commit is contained in:
@@ -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<void> {
|
||||
|
||||
Reference in New Issue
Block a user