Skip to content

Commit

Permalink
uhhh
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverb123 committed Sep 5, 2024
1 parent ad1e9f0 commit c074f02
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
}
}

Expand Down

0 comments on commit c074f02

Please sign in to comment.