diff --git a/src/common/config/config.service.ts b/src/common/config/config.service.ts index 98ca3aaf..709fc233 100644 --- a/src/common/config/config.service.ts +++ b/src/common/config/config.service.ts @@ -7,7 +7,7 @@ export class ConfigService extends ConfigServiceSource { * List of env variables that should be hidden */ public get secrets(): string[] { - return [this.get('SENTRY_DSN') ?? '', ...this.get('CL_API_URLS'), ...this.get('PROVIDERS_URLS')] + return [this.get('SENTRY_DSN') ?? '', ...(this.get('CL_API_URLS') || []), ...this.get('PROVIDERS_URLS')] .filter((v) => v) .map((v) => String(v)); }