Skip to content

Commit

Permalink
update credential rules type to support value as string
Browse files Browse the repository at this point in the history
- update credential rules type to support value as string for usecases when schema rules can be just SAID of the rules block object

Signed-off-by: arshdeep singh <[email protected]>
  • Loading branch information
Arsh-Sandhu committed Jan 19, 2024
1 parent 5be1819 commit 3532e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keri/app/credentialing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface IssueCredentialArgs {
/**
* Credential rules
*/
rules?: Record<string, unknown>;
rules?: string | Record<string, unknown>;

/**
* Credential sources
Expand Down

0 comments on commit 3532e72

Please sign in to comment.