forked from apxtri/apxtri
clean
This commit is contained in:
parent
b29374bf01
commit
0a686bf1b5
@ -253,7 +253,7 @@ Odmdb.Schema = (objectPathname, validschema, lg="en") => {
|
|||||||
if (!fs.existsSync(optionsfile)){
|
if (!fs.existsSync(optionsfile)){
|
||||||
res.status = 404;
|
res.status = 404;
|
||||||
res.msg = "missingref";
|
res.msg = "missingref";
|
||||||
res.data.missingref = res.data.schema.properties[p]["$ref"];
|
res.data.missingref = res.data.schema.properties[p].options["$ref"];
|
||||||
return res;
|
return res;
|
||||||
}else{
|
}else{
|
||||||
if (!res.data.schema.apxref) {res.data.schema.apxref=[]}
|
if (!res.data.schema.apxref) {res.data.schema.apxref=[]}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user