Skip to content

Commit

Permalink
Add VC response in updateCred (#49)
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 3, 2024
1 parent c2ec09f commit 33ceb1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/credential_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export async function updateCred(req: express.Request, res: express.Response) {
return res.status(200).json({
result: 'Updated successufully',
identifier: cred.identifier,
vc: updatedVc
});
}
return res.status(400).json({ error: 'Document not updated' });
Expand Down

0 comments on commit 33ceb1c

Please sign in to comment.