forgot this change

This commit is contained in:
philc 2024-11-15 14:44:54 +01:00
parent 34c780d460
commit 10b2901b97

View File

@ -258,7 +258,7 @@ Odmdb.Schema = (objectPathname, validschema, lg = "en") => {
msg: "getschema", msg: "getschema",
data: {}, data: {},
}; };
if (fs.existsSync(`${objectPathname}/conf.json`)) { if (fs.existsSync(`${objectPathname}/conf.json`)) {
res.data.conf = fs.readJsonSync(`${objectPathname}/conf.json`); res.data.conf = fs.readJsonSync(`${objectPathname}/conf.json`);
res.data.schema = getschemalg(res.data.conf.schema, lg); res.data.schema = getschemalg(res.data.conf.schema, lg);