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

Commit

Permalink
SPHEREON-1157: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Feb 28, 2024
1 parent 6285f12 commit 5d75581
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/authorization-response/AuthorizationResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,11 @@ export class AuthorizationResponse {
presentationDefinitions,
presentations: wrappedPresentations,
verificationCallback: verifyOpts.verification.presentationVerificationCallback,
opts: { ...responseOpts.presentationExchange,
presentationSubmission: (responseOpts.presentationExchange.presentationSubmission ?? authorizationResponsePayload.presentation_submission),
hasher: verifyOpts.hasher },
opts: {
...responseOpts.presentationExchange,
presentationSubmission: responseOpts.presentationExchange.presentationSubmission ?? authorizationResponsePayload.presentation_submission,
hasher: verifyOpts.hasher,
},
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/authorization-response/Payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const createResponsePayload = async (
...(responseOpts.accessToken && { access_token: responseOpts.accessToken }),
...(responseOpts.tokenType && { token_type: responseOpts.tokenType }),
...(responseOpts.refreshToken && { refresh_token: responseOpts.refreshToken }),
...(payload?.nonce && { nonce: payload.nonce}),
...(payload?.nonce && { nonce: payload.nonce }),
expires_in: responseOpts.expiresIn || 3600,
state,
};
Expand Down

0 comments on commit 5d75581

Please sign in to comment.