refactor(core): Port version notifications config (no-changelog) (#10087)

This commit is contained in:
Iván Ovejero
2024-07-17 19:11:46 +02:00
committed by GitHub
parent 68d3bebfee
commit 14b12f844d
8 changed files with 34 additions and 30 deletions

View File

@@ -116,9 +116,9 @@ export class FrontendService {
oauth2: `${instanceBaseUrl}/${restEndpoint}/oauth2-credential/callback`,
},
versionNotifications: {
enabled: config.getEnv('versionNotifications.enabled'),
endpoint: config.getEnv('versionNotifications.endpoint'),
infoUrl: config.getEnv('versionNotifications.infoUrl'),
enabled: this.globalConfig.versionNotifications.enabled,
endpoint: this.globalConfig.versionNotifications.endpoint,
infoUrl: this.globalConfig.versionNotifications.infoUrl,
},
instanceId: this.instanceSettings.instanceId,
telemetry: telemetrySettings,