mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
refactor(core): Simplify ExternalSecretsProxy setup and move it to core (#16021)
This commit is contained in:
committed by
GitHub
parent
3e91f3253b
commit
2258a74518
@@ -11,6 +11,7 @@ import {
|
||||
ObjectStoreService,
|
||||
DataDeduplicationService,
|
||||
ErrorReporter,
|
||||
ExternalSecretsProxy,
|
||||
} from 'n8n-core';
|
||||
import { ensureError, sleep, UserError } from 'n8n-workflow';
|
||||
|
||||
@@ -278,6 +279,7 @@ export abstract class BaseCommand extends Command {
|
||||
async initExternalSecrets() {
|
||||
const secretsManager = Container.get(ExternalSecretsManager);
|
||||
await secretsManager.init();
|
||||
Container.get(ExternalSecretsProxy).setManager(secretsManager);
|
||||
}
|
||||
|
||||
initWorkflowHistory() {
|
||||
|
||||
Reference in New Issue
Block a user