Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcreaser committed Jan 15, 2024
1 parent 2e301c5 commit 4c2b133
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal fun getMFAType(value: String) = when (value) {
else -> throw IllegalArgumentException("Unsupported MFA type")
}

internal fun getMFATypeOrNull(value: String) = when(value) {
internal fun getMFATypeOrNull(value: String) = when (value) {
"SMS_MFA" -> MFAType.SMS
"SOFTWARE_TOKEN_MFA" -> MFAType.TOTP
else -> null
Expand Down

0 comments on commit 4c2b133

Please sign in to comment.