forked from apxtri/apxtri
clean odmdb.js
This commit is contained in:
parent
c66f856ccf
commit
a2ceae118e
@ -263,7 +263,7 @@ router.get(
|
||||
const objectId = req.params.primaryindex;
|
||||
let objectLocation = "../nationchains/";
|
||||
if (!conf.api.nationObjects.includes(objectName)) {
|
||||
objectLocation += `tribes/${req.session.headers.xtribe}/${objectName}`;
|
||||
objectLocation += `tribes/${req.session.header.xtribe}/${objectName}`;
|
||||
// check if accessright on object on item
|
||||
// in case not res.status(403)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user