Skip to content

Commit

Permalink
chore: PR feedback (partly)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Oct 9, 2024
1 parent 51a21d6 commit d6854b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export const assertValidVerifiablePresentations = async (args: {
args.presentationDefinitions.length &&
(!presentationsWithFormat || (Array.isArray(presentationsWithFormat) && presentationsWithFormat.length === 0))
) {
if(nrOfMdocsPresentations === 0) {
if(nrOfMdocsPresentations === 0) { // We don't want to crash when processing mdoc credentials
throw new Error(SIOPErrors.AUTH_REQUEST_EXPECTS_VP)
}
} else if (
Expand Down

0 comments on commit d6854b9

Please sign in to comment.