clean
This commit is contained in:
@@ -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=[]}
|
||||||
|
Reference in New Issue
Block a user