Skip to content

Commit

Permalink
Fix issue with web5-spec
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Hinek <[email protected]>
  • Loading branch information
frankhinek committed Dec 11, 2023
1 parent e03ae3f commit 11f7f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .web5-spec/credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 11f7f90

Please sign in to comment.