Skip to content

Commit

Permalink
Fix vc.derive example.
Browse files Browse the repository at this point in the history
  • Loading branch information
JSAssassin committed Nov 14, 2023
1 parent a5d9556 commit bf0f8ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ const suite = new DataIntegrityProof({
})
});

const derivedVC = await vc.derive({credential, suite, documentLoader});
const derivedVC = await vc.derive({
verifiableCredential, suite, documentLoader
});
console.log(JSON.stringify(derivedVC, null, 2));
```

Expand Down

0 comments on commit bf0f8ca

Please sign in to comment.