Skip to content

Commit

Permalink
Update StatusListPlugin.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma authored Feb 7, 2025
1 parent 01f0e0b commit 62036c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class StatusListPlugin implements IAgentPlugin {
if (credentialStatus && (!rest.statusLists || rest.statusLists.length == 0)) {
let existingStatusId: string | undefined
if (Array.isArray(credentialStatus)) {
// This was implemented with VC v2.0 support, but the rest of the SDK is not ready for that, so ICredential.credentialStatus's array union is disabled for now
// This was implemented with VCDM v2.0 support, but the rest of the SDK is not ready for that, so ICredential.credentialStatus's array union is disabled for now
for (const stat of credentialStatus) {
if (stat.id && stat.id.trim() !== '') {
existingStatusId = stat.id.split('#')[0]
Expand Down

0 comments on commit 62036c0

Please sign in to comment.