isDIDArray: (value: Validatable) => {
const res = new DIDArrayValidator().validate((value as string[]).map((v) => (v.includes('#') ? v.split('#')[0] : v)));
if (!res.valid) {
throw new Error(res.error);
}
return true;
},Am I write to consider this a fix for checking the authentication property for the update did api endpoint validator in Cheqd Studio?
https://github.com/cheqd/studio/blob/140dcea007da52f0fc4aea1eb6f2ca65aef0327c/src/controllers/api/did.ts#L131
I am attempting to update the authentication but its failing during validation unless I make the above change.
Completed
Bug Reports
cheqd Studio
8 months ago

Luke Nispel
Get notified by email when there are changes.
Completed
Bug Reports
cheqd Studio
8 months ago

Luke Nispel
Get notified by email when there are changes.