diff --git a/routes/odmdb.js b/routes/odmdb.js index ffe4e41..1691289 100644 --- a/routes/odmdb.js +++ b/routes/odmdb.js @@ -321,7 +321,7 @@ router.get( const objectpath = `../../${req.params.tribe}/objects/${req.params.objectname}/itm/${req.params.primaryindex}.json`; if (fs.existsSync(objectpath)) { - res.status(200).json({status:200,ref:"Odmdb",msg:"itmfound", data:{itm: fs.readJsonSync(objectpath) }}); + res.status(200).json({status:200,ref:"Odmdb",msg:"itmfound", data:fs.readJsonSync(objectpath) }); } else { res.status(404).json({ status:404,