From 10b2901b97b72f034ea6b1be5eb449e25152ba9e Mon Sep 17 00:00:00 2001 From: philc Date: Fri, 15 Nov 2024 14:44:54 +0100 Subject: [PATCH] forgot this change --- apxtri/models/Odmdb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apxtri/models/Odmdb.js b/apxtri/models/Odmdb.js index 9bfddcc..b7ae8ac 100644 --- a/apxtri/models/Odmdb.js +++ b/apxtri/models/Odmdb.js @@ -258,7 +258,7 @@ Odmdb.Schema = (objectPathname, validschema, lg = "en") => { msg: "getschema", data: {}, }; - + if (fs.existsSync(`${objectPathname}/conf.json`)) { res.data.conf = fs.readJsonSync(`${objectPathname}/conf.json`); res.data.schema = getschemalg(res.data.conf.schema, lg);