Skip to content

Commit

Permalink
fix: update credential API to remove the notification call in the fun…
Browse files Browse the repository at this point in the history
…ction.

Signed-off-by: KulkarniShashank <[email protected]>
  • Loading branch information
KulkarniShashank committed Sep 3, 2024
1 parent 7975139 commit 95d558c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/core/src/modules/credentials/CredentialsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -554,14 +554,6 @@ export class CredentialsApi<CPs extends CredentialProtocol[]> implements Credent

await this.postUpdatedBitString(statusListCredentialURL, bitStringCredential)

// Send the revocation notification
const revocationId = `${statusListCredentialURL}::${credentialIndex}`
await this.sendRevocationNotification({
credentialRecordId: options.credentialRecordId,
revocationId,
revocationFormat: 'jsonld',
})

return { message: 'The JSON-LD credential has been successfully revoked.' }
}

Expand Down

0 comments on commit 95d558c

Please sign in to comment.