mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -08:00
refactor(core): Remove unused code from Server.ts (no-changelog) (#8426)
This commit is contained in:
parent
e9fea16301
commit
1affebd85e
|
@ -55,11 +55,9 @@ import { ExternalSecretsController } from '@/ExternalSecrets/ExternalSecrets.con
|
||||||
import { ExecutionsController } from '@/executions/executions.controller';
|
import { ExecutionsController } from '@/executions/executions.controller';
|
||||||
import { isApiEnabled, loadPublicApiVersions } from '@/PublicApi';
|
import { isApiEnabled, loadPublicApiVersions } from '@/PublicApi';
|
||||||
import type { ICredentialsOverwrite, IDiagnosticInfo } from '@/Interfaces';
|
import type { ICredentialsOverwrite, IDiagnosticInfo } from '@/Interfaces';
|
||||||
import { ActiveExecutions } from '@/ActiveExecutions';
|
|
||||||
import { CredentialsOverwrites } from '@/CredentialsOverwrites';
|
import { CredentialsOverwrites } from '@/CredentialsOverwrites';
|
||||||
import { LoadNodesAndCredentials } from '@/LoadNodesAndCredentials';
|
import { LoadNodesAndCredentials } from '@/LoadNodesAndCredentials';
|
||||||
import * as ResponseHelper from '@/ResponseHelper';
|
import * as ResponseHelper from '@/ResponseHelper';
|
||||||
import { WaitTracker } from '@/WaitTracker';
|
|
||||||
import { toHttpNodeParameters } from '@/CurlConverterHelper';
|
import { toHttpNodeParameters } from '@/CurlConverterHelper';
|
||||||
import { EventBusController } from '@/eventbus/eventBus.controller';
|
import { EventBusController } from '@/eventbus/eventBus.controller';
|
||||||
import { EventBusControllerEE } from '@/eventbus/eventBus.controller.ee';
|
import { EventBusControllerEE } from '@/eventbus/eventBus.controller.ee';
|
||||||
|
@ -101,10 +99,6 @@ const exec = promisify(callbackExec);
|
||||||
export class Server extends AbstractServer {
|
export class Server extends AbstractServer {
|
||||||
private endpointPresetCredentials: string;
|
private endpointPresetCredentials: string;
|
||||||
|
|
||||||
private waitTracker: WaitTracker;
|
|
||||||
|
|
||||||
private activeExecutionsInstance: ActiveExecutions;
|
|
||||||
|
|
||||||
private presetCredentialsLoaded: boolean;
|
private presetCredentialsLoaded: boolean;
|
||||||
|
|
||||||
private loadNodesAndCredentials: LoadNodesAndCredentials;
|
private loadNodesAndCredentials: LoadNodesAndCredentials;
|
||||||
|
@ -130,9 +124,6 @@ export class Server extends AbstractServer {
|
||||||
this.frontendService = Container.get(require('@/services/frontend.service').FrontendService);
|
this.frontendService = Container.get(require('@/services/frontend.service').FrontendService);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.activeExecutionsInstance = Container.get(ActiveExecutions);
|
|
||||||
this.waitTracker = Container.get(WaitTracker);
|
|
||||||
|
|
||||||
this.presetCredentialsLoaded = false;
|
this.presetCredentialsLoaded = false;
|
||||||
this.endpointPresetCredentials = config.getEnv('credentials.overwrite.endpoint');
|
this.endpointPresetCredentials = config.getEnv('credentials.overwrite.endpoint');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue