summary refs log tree commit diff
path: root/src/util/schemas/Validator.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/schemas/Validator.ts')
-rw-r--r--src/util/schemas/Validator.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/schemas/Validator.ts b/src/util/schemas/Validator.ts
index 84677e25..1de511d3 100644
--- a/src/util/schemas/Validator.ts
+++ b/src/util/schemas/Validator.ts
@@ -43,7 +43,7 @@ export const ajv = new Ajv({
 	allowUnionTypes: true,
 });
 
-addFormats(ajv as never);
+addFormats(ajv);
 
 export function validateSchema<G extends object>(schema: string, data: G): G {
 	const valid = ajv.validate(schema, normalizeBody(data));