Skip to content

Commit

Permalink
fix: opts passed to getCredentialOfferEndpoint()
Browse files Browse the repository at this point in the history
  • Loading branch information
Fendy Putra committed Oct 23, 2023
1 parent e530d55 commit 923b8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/issuer-rest/lib/OID4VCIServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class OID4VCIServer<DIDDoc extends object> {
if (opts?.endpointOpts?.createCredentialOfferOpts?.enabled !== false || process.env.CREDENTIAL_OFFER_ENDPOINT_EBALBED === 'true') {
createCredentialOfferEndpoint(this.router, this.issuer, opts?.endpointOpts?.createCredentialOfferOpts)
}
getCredentialOfferEndpoint(this.router, this.issuer, opts?.getCredentialOfferOpts)
getCredentialOfferEndpoint(this.router, this.issuer, opts?.endpointOpts?.getCredentialOfferOpts)
getCredentialEndpoint(this.router, this.issuer, { ...opts?.endpointOpts?.tokenEndpointOpts, baseUrl: this.baseUrl })
this.assertAccessTokenHandling()
if (!this.isTokenEndpointDisabled(opts?.endpointOpts?.tokenEndpointOpts)) {
Expand Down

0 comments on commit 923b8b4

Please sign in to comment.