From e16d20bb55f51e0a1d3b01a8aa2ee1c5b62efc7b Mon Sep 17 00:00:00 2001 From: sander Date: Wed, 28 Feb 2024 17:36:39 +0100 Subject: [PATCH] SPHEREON-1157: deleted rogue paste --- src/authorization-response/AuthorizationResponse.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/authorization-response/AuthorizationResponse.ts b/src/authorization-response/AuthorizationResponse.ts index 8922908..a84b5cc 100644 --- a/src/authorization-response/AuthorizationResponse.ts +++ b/src/authorization-response/AuthorizationResponse.ts @@ -122,7 +122,7 @@ export class AuthorizationResponse { verificationCallback: verifyOpts.verification.presentationVerificationCallback, opts: { ...responseOpts.presentationExchange, - presentationSubmission: responseOpts.presentationExchange?.presentationSubmission ?? authorizationResponsePayload.presentation_submission, + presentationSubmission: responseOpts.presentationExchange.presentationSubmission ?? authorizationResponsePayload.presentation_submission, hasher: verifyOpts.hasher, }, }); @@ -153,7 +153,6 @@ export class AuthorizationResponse { return { authorizationResponse: this, verifyOpts, - presentationSubmission: responseOpts.presentationExchange?.presentationSubmission, nonce, state, correlationId: verifyOpts.correlationId,