Skip to content

Commit

Permalink
chore: fix get trust result
Browse files Browse the repository at this point in the history
  • Loading branch information
Brummos committed Nov 1, 2024
1 parent b2f6ed9 commit 3bde6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/oid4vci-holder/src/agent/OID4VCIHolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ export class OID4VCIHolder implements IAgentPlugin {
entityIdentifier,
trustAnchors
})
.then((result) => !result || result.length === 0)
.then((result) => Array.isArray(result) && result.length > 0)
}

private async oid4vciHolderGetIssuerMetadata(args: GetIssuerMetadataArgs, context: RequiredContext): Promise<EndpointMetadataResult> {
Expand Down

0 comments on commit 3bde6b8

Please sign in to comment.