forgot this change
This commit is contained in:
parent
34c780d460
commit
10b2901b97
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user