Skip to content

Commit

Permalink
fix: 1993 assign satisfiedSubmissions to submissionEntry in `getSubmi…
Browse files Browse the repository at this point in the history
…ssionRequirementRulePick` (openwallet-foundation#1994)

fix: assign satisfiedSubmissions to submissionEntry

Signed-off-by: DJHunn39 <[email protected]>
Co-authored-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
DJHunn39 and berendsliedrecht authored Aug 21, 2024
1 parent e84b1e3 commit c9ffa0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function getSubmissionRequirementRulePick(
// if the requirement is satisfied, we only need to return the satisfied submissions
// however if the requirement is not satisfied, we include all entries so the wallet could
// render which credentials are missing.
submission:
submissionEntry:
satisfiedSubmissions.length >= selectedSubmission.needsCount
? satisfiedSubmissions
: [...satisfiedSubmissions, ...unsatisfiedSubmissions],
Expand Down

0 comments on commit c9ffa0b

Please sign in to comment.