Skip to content

Commit

Permalink
Update Mappers.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
urielsalis authored Sep 28, 2024
1 parent cf7eb42 commit 6de87f2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6de87f2

Please sign in to comment.