From 11f7f90821ed8b9f41438fdf0e09f54a8f315a1e Mon Sep 17 00:00:00 2001 From: Frank Hinek Date: Mon, 11 Dec 2023 14:31:15 -0500 Subject: [PATCH] Fix issue with web5-spec Signed-off-by: Frank Hinek --- .web5-spec/credentials.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.web5-spec/credentials.ts b/.web5-spec/credentials.ts index 6cd58d55f..849166e7f 100644 --- a/.web5-spec/credentials.ts +++ b/.web5-spec/credentials.ts @@ -9,7 +9,7 @@ export async function credentialIssue(req: Request, res: Response) { const ownDid = await DidKeyMethod.create(); - const vc: VerifiableCredential = VerifiableCredential.create({ + const vc: VerifiableCredential = await VerifiableCredential.create({ type: body.credential.type[body.credential.type.length - 1], issuer: body.credential.issuer, subject: body.credential.credentialSubject["id"] as string,