Skip to content

Commit

Permalink
Add VC in issueVC response (#48)
Browse files Browse the repository at this point in the history
Signed-off-by: Adi Bhagavath <[email protected]>
  • Loading branch information
adi-a11y authored Oct 1, 2024
1 parent e9420a2 commit c2ec09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/credential_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export async function issueVC(req: express.Request, res: express.Response) {
await dataSource.manager.save(cred);
return res
.status(200)
.json({ result: 'success', identifier: cred.identifier });
.json({ result: 'success', identifier: cred.identifier, vc: vc });
} else {
return res.status(400).json({ error: 'Credential not issued' });
}
Expand Down

0 comments on commit c2ec09f

Please sign in to comment.