Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed Moussa <ahmed.moussa@iohk.io>
  • Loading branch information
hamada147 committed Jun 4, 2024
1 parent c789435 commit 213ec4f
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -978,10 +978,11 @@ class PlutoImpl(private val connection: DbConnection) : Pluto {
.map { list ->
list.executeAsList()
.map { credential ->
CredentialRecovery(
restorationId = credential.recoveryId,
credentialData = credential.credentialData,
revoked = credential.revoked != 0)
CredentialRecovery(
restorationId = credential.recoveryId,
credentialData = credential.credentialData,
revoked = credential.revoked != 0
)
}.takeIf { it.isNotEmpty() } ?: emptyList()
}
}
Expand Down

0 comments on commit 213ec4f

Please sign in to comment.