From c074f025847d15940f8ad31301df7b1bed915fdf Mon Sep 17 00:00:00 2001 From: olly Date: Thu, 5 Sep 2024 21:13:10 +0200 Subject: [PATCH] uhhh --- .../src/worker/ingestion/property-definitions-manager.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin-server/src/worker/ingestion/property-definitions-manager.ts b/plugin-server/src/worker/ingestion/property-definitions-manager.ts index 36e7102e0bc79..89db42064c97c 100644 --- a/plugin-server/src/worker/ingestion/property-definitions-manager.ts +++ b/plugin-server/src/worker/ingestion/property-definitions-manager.ts @@ -109,10 +109,10 @@ export class PropertyDefinitionsManager { }) this.propertyDefinitionsCache = new PropertyDefinitionsCache(serverConfig) - if (serverConfig.SKIP_DEFINITIONS_FOR_TEAM_IDS.length > 0) { - this.teamIdsToSkip = new Set( - serverConfig.SKIP_DEFINITIONS_FOR_TEAM_IDS.split(',').map((id) => parseInt(id)) - ) + const skipTeams = serverConfig.SKIP_DEFINITIONS_FOR_TEAM_IDS ?? '' + + if (skipTeams.length > 0) { + this.teamIdsToSkip = new Set(skipTeams.split(',').map((id) => parseInt(id))) } }