diff --git a/src/main/kotlin/io/github/mojira/arisa/infrastructure/jira/Mappers.kt b/src/main/kotlin/io/github/mojira/arisa/infrastructure/jira/Mappers.kt index b97fea76..92be6d1e 100644 --- a/src/main/kotlin/io/github/mojira/arisa/infrastructure/jira/Mappers.kt +++ b/src/main/kotlin/io/github/mojira/arisa/infrastructure/jira/Mappers.kt @@ -57,8 +57,7 @@ fun getCreationDate(issue: JiraIssue, id: String, default: Instant) = issue.chan ?.created ?.toInstant() ?: default -fun JiraProject.getSecurityLevelId(config: Config) = - config[Arisa.PrivateSecurityLevel.special][key.lowercase()] ?: config[Arisa.PrivateSecurityLevel.default] +fun JiraProject.getSecurityLevelId(config: Config) = config[Arisa.PrivateSecurityLevel.default] fun JiraVersion.toDomain() = Version( id,