Skip to content

Commit

Permalink
Replace public_note credential_status with status
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoch committed Dec 2, 2024
1 parent d922539 commit c546071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/issuer-sdk-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ await editCredential(issuerConfig, {
public_notes_id: publicNotesId,
public_notes: JSON.stringify({
...credentialsPublicNotes,
credential_status: "revoked",
status: "revoked",
}),
});
```
Expand All @@ -295,7 +295,7 @@ await editCredential(issuer, {
publicNotesId: id, // the `id` of the credential to be revoked that is stored in the `publicNotes` field.
publicNotes: JSON.stringify({
...publicNotes,
credential_status: "revoked" // updating the credential status to revoked
status: "revoked" // updating the credential status to revoked
}),
});
```
Expand Down

0 comments on commit c546071

Please sign in to comment.