Skip to content

Commit

Permalink
Fix #40: Added default format for presentation submission
Browse files Browse the repository at this point in the history
  • Loading branch information
josmilan committed Jun 17, 2024
1 parent 59fb726 commit 040cb12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ class VerificationService : VerificationServiceInterface {
val descriptor = DescriptorMap(
id = inputDescriptors.id,
path = "$",
format = presentationDefinition.format?.keys?.first(),
format = presentationDefinition.format?.keys?.firstOrNull()?:"jwt_vp",
pathNested = PathNested(
id = inputDescriptors.id,
format = "jwt_vc",
Expand Down

0 comments on commit 040cb12

Please sign in to comment.