1
0
forked from apxtri/apxtri
This commit is contained in:
philc 2024-02-20 15:37:52 +01:00
parent b29374bf01
commit 0a686bf1b5

View File

@ -253,7 +253,7 @@ Odmdb.Schema = (objectPathname, validschema, lg="en") => {
if (!fs.existsSync(optionsfile)){
res.status = 404;
res.msg = "missingref";
res.data.missingref = res.data.schema.properties[p]["$ref"];
res.data.missingref = res.data.schema.properties[p].options["$ref"];
return res;
}else{
if (!res.data.schema.apxref) {res.data.schema.apxref=[]}