mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(core): Avoid passing around static state like default timezone (no-changelog) (#7221)
This commit is contained in:
committed by
GitHub
parent
62c096710f
commit
35bb42c1b9
@@ -37,8 +37,6 @@ export abstract class AbstractServer {
|
||||
|
||||
protected sslCert: string;
|
||||
|
||||
protected timezone: string;
|
||||
|
||||
protected restEndpoint: string;
|
||||
|
||||
protected endpointWebhook: string;
|
||||
@@ -61,8 +59,6 @@ export abstract class AbstractServer {
|
||||
this.sslKey = config.getEnv('ssl_key');
|
||||
this.sslCert = config.getEnv('ssl_cert');
|
||||
|
||||
this.timezone = config.getEnv('generic.timezone');
|
||||
|
||||
this.restEndpoint = config.getEnv('endpoints.rest');
|
||||
this.endpointWebhook = config.getEnv('endpoints.webhook');
|
||||
this.endpointWebhookTest = config.getEnv('endpoints.webhookTest');
|
||||
|
||||
Reference in New Issue
Block a user