mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54: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 { isApiEnabled, loadPublicApiVersions } from '@/PublicApi';
|
||||
import type { ICredentialsOverwrite, IDiagnosticInfo } from '@/Interfaces';
|
||||
import { ActiveExecutions } from '@/ActiveExecutions';
|
||||
import { CredentialsOverwrites } from '@/CredentialsOverwrites';
|
||||
import { LoadNodesAndCredentials } from '@/LoadNodesAndCredentials';
|
||||
import * as ResponseHelper from '@/ResponseHelper';
|
||||
import { WaitTracker } from '@/WaitTracker';
|
||||
import { toHttpNodeParameters } from '@/CurlConverterHelper';
|
||||
import { EventBusController } from '@/eventbus/eventBus.controller';
|
||||
import { EventBusControllerEE } from '@/eventbus/eventBus.controller.ee';
|
||||
|
@ -101,10 +99,6 @@ const exec = promisify(callbackExec);
|
|||
export class Server extends AbstractServer {
|
||||
private endpointPresetCredentials: string;
|
||||
|
||||
private waitTracker: WaitTracker;
|
||||
|
||||
private activeExecutionsInstance: ActiveExecutions;
|
||||
|
||||
private presetCredentialsLoaded: boolean;
|
||||
|
||||
private loadNodesAndCredentials: LoadNodesAndCredentials;
|
||||
|
@ -130,9 +124,6 @@ export class Server extends AbstractServer {
|
|||
this.frontendService = Container.get(require('@/services/frontend.service').FrontendService);
|
||||
}
|
||||
|
||||
this.activeExecutionsInstance = Container.get(ActiveExecutions);
|
||||
this.waitTracker = Container.get(WaitTracker);
|
||||
|
||||
this.presetCredentialsLoaded = false;
|
||||
this.endpointPresetCredentials = config.getEnv('credentials.overwrite.endpoint');
|
||||
|
||||
|
|
Loading…
Reference in a new issue