summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--api/src/util/handlers/route.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/util/handlers/route.ts b/api/src/util/handlers/route.ts
index ef6c8571..05658ad3 100644
--- a/api/src/util/handlers/route.ts
+++ b/api/src/util/handlers/route.ts
@@ -18,7 +18,7 @@ import Ajv from "ajv";
 import { AnyValidateFunction } from "ajv/dist/core";
 import addFormats from "ajv-formats";
 
-const SchemaPath = path.join(__dirname, "..", "..", "assets", "schemas.json");
+const SchemaPath = path.join(__dirname, "..", "..", "..", "assets", "schemas.json");
 const schemas = JSON.parse(fs.readFileSync(SchemaPath, { encoding: "utf8" }));
 
 export const ajv = new Ajv({