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'],