mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08: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:
parent
64b950f294
commit
8c38d85e76
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue