Skip to content

Commit

Permalink
SPHEREON-1157: responseOpts.presentationExchange can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Feb 28, 2024
1 parent 6bae0d4 commit 66358b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/authorization-response/AuthorizationResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ export class AuthorizationResponse {

return {
authorizationResponse: this,
verifyOpts, presentationSubmission: responseOpts.presentationExchange.presentationSubmissi
verifyOpts,
presentationSubmission: responseOpts.presentationExchange?.presentationSubmission,
nonce,
state,
correlationId: verifyOpts.correlationId,
Expand Down

0 comments on commit 66358b3

Please sign in to comment.