Skip to content

Commit

Permalink
fix: remove unnecessary statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Aug 7, 2024
1 parent 9d0f0e8 commit 5091d9c
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ actual fun generateKeyPair(): JwtWithPrivateKey {
.keyIDFromThumbprint(true)
.algorithm(Algorithm("EC"))
.issueTime(Date())
.expirationTime(Calendar.getInstance().apply {
time = Date()
add(Calendar.YEAR, 1)
}.time)
.generate()

return JwtWithPrivateKey(
Expand Down

0 comments on commit 5091d9c

Please sign in to comment.