Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
SPHEREON-1157: removed rogue paste
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Feb 28, 2024
1 parent 625de09 commit e133e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authorization-response/AuthorizationResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class AuthorizationResponse {
const state = merged.state ?? verifiedIdToken?.payload.state;

if (!state) {
throw Error(`State is required`const payload = await authorizationRequest.requestObject.getPayload());
throw Error(`State is required`);
} else if (oid4vp.presentationDefinitions.length > 0 && !nonce) {
throw Error('Nonce is required when using OID4VP');
}
Expand Down

0 comments on commit e133e96

Please sign in to comment.