Skip to content

Commit

Permalink
use existing variable
Browse files Browse the repository at this point in the history
Co-Authored-By: kirahsapong  <[email protected]>
  • Loading branch information
mistermoe and kirahsapong committed Dec 8, 2023
1 parent 483f5ee commit 3cc312f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/credentials/src/verifiable-credential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export class VerifiableCredential {
throw new Error('vc property missing.');
}

validatePayload(payload['vc']);
validatePayload(vc);

return {
issuer : signerDid,
Expand Down

0 comments on commit 3cc312f

Please sign in to comment.