Cheqd Studio Update DID

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.

Upvoters
Status

Completed

Board
πŸ›

Bug Reports

Tags

cheqd Studio

Date

8 months ago

Author

Luke Nispel

Subscribe to post

Get notified by email when there are changes.