Skip to content

Commit

Permalink
Fix #49 - filtering JWT and SD JWT credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
josmilan committed Jul 29, 2024
1 parent 76b78d9 commit a4f403c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ class VerificationService : VerificationServiceInterface {
for (item in allCredentials) {
if (isSdJwt && item?.contains("~") == true)
filteredCredentials.add(item)
else if (!isSdJwt && item?.contains("~") != null)
else if (!isSdJwt && item?.contains("~") == false)
filteredCredentials.add(item)
}
return filteredCredentials
Expand Down

0 comments on commit a4f403c

Please sign in to comment.