Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: revoke changes issuer agent #62

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

RCCodeBase
Copy link
Contributor

  • revoke update for checking if document is revoked
  • and revoke by passing identifier

@prashant4dev prashant4dev merged commit e9c8dad into dhiway:main Feb 25, 2025
1 check passed
}
}

export async function udpateDocumentHashonChain(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be updateDocumentHashOnChain()

@@ -56,6 +57,10 @@ docRouter.post("/revoke", async (req, res) => {
return await revokeDocumentHashOnChain(req, res);
});

docRouter.post("/update", async (req, res) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And try to use "put" for update call rather than "post"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants