feat: Pin to home (#2880)
This commit is contained in:
@@ -83,7 +83,10 @@ export const assertValueInArray = (
|
||||
}
|
||||
};
|
||||
|
||||
export const assertIndexCharacters = (value: string, message?: string) => {
|
||||
export const assertIndexCharacters = (
|
||||
value: string,
|
||||
message = "index must be between x20 to x7E ASCII"
|
||||
) => {
|
||||
if (!validateIndexCharacters(value)) {
|
||||
throw ValidationError(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user