1
0
forked from apxtri/apxtri

clean odmdb.js

This commit is contained in:
philc 2024-03-07 07:55:22 +01:00
parent c66f856ccf
commit a2ceae118e

View File

@ -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)
}