Commit 5e625a93 authored by project's avatar project

--no commit message

--no commit message
parent 81850095
...@@ -92,10 +92,10 @@ router.get('/:id/objects',function (req, res) { ...@@ -92,10 +92,10 @@ router.get('/:id/objects',function (req, res) {
} }
var objOpt = {'meta':true,'data':true} var objOpt = {'meta':true,'data':true}
if(query.show == 'id'){ if(query.field == 'id'){
objOpt.meta = false; objOpt.meta = false;
objOpt.data = false; objOpt.data = false;
}else if(query.show == 'meta'){ }else if(query.field == 'meta'){
objOpt.data = false; objOpt.data = false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment