Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
  • Loading branch information
shotexa committed May 15, 2024
1 parent 73b3ccd commit 731e067
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,7 @@ object JwtCredential {
if isSignatureValid then
val claimsSet = signedJWT.getJWTClaimsSet.toString
decode[JwtCredentialPayload](claimsSet).toTry
else
Failure(Exception(s"Invalid JWT signature for: ${JWT.value}"))
else Failure(Exception(s"Invalid JWT signature for: ${JWT.value}"))
}

def decodeJwt(jwt: JWT): IO[String, JwtCredentialPayload] = {
Expand Down

0 comments on commit 731e067

Please sign in to comment.