Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Brummos committed Feb 15, 2024
1 parent 7c281a8 commit 43efb4d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/client/lib/OpenID4VCIClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,7 @@ export class OpenID4VCIClient {
}
// Running syncAuthorizationRequestOpts later as it is using the state
if (!this._state.authorizationRequestOpts) {
this._state = {
...this._state,
authorizationRequestOpts: this.syncAuthorizationRequestOpts(authorizationRequest),
}
this._state.authorizationRequestOpts = this.syncAuthorizationRequestOpts(authorizationRequest)
}
debug(`Authorization req options: ${JSON.stringify(this._state.authorizationRequestOpts, null, 2)}`);
}
Expand Down

0 comments on commit 43efb4d

Please sign in to comment.