From bc9f4988c66fbeadb7e6ce38aec446fd5d38339d Mon Sep 17 00:00:00 2001 From: Simonas Karuzas Date: Tue, 3 Mar 2020 18:20:17 +0200 Subject: [PATCH] fix: VP aud --- examples/expressjs-ethr/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/expressjs-ethr/src/index.ts b/examples/expressjs-ethr/src/index.ts index 101b846ba..34893d6ff 100644 --- a/examples/expressjs-ethr/src/index.ts +++ b/examples/expressjs-ethr/src/index.ts @@ -161,7 +161,7 @@ async function main() { type: W3C.ActionTypes.signVp, did: identity.did, data: { - sub: did, + aud: did, vp: { '@context': ['https://www.w3.org/2018/credentials/v1'], type: ['VerifiablePresentation'],