Commit 98048a7c authored by andreagerino's avatar andreagerino

...

parent d8abec1f
...@@ -51,7 +51,7 @@ router.post('/', function(req, res, next){ ...@@ -51,7 +51,7 @@ router.post('/', function(req, res, next){
db.close(); db.close();
res.statusCode = 201; res.statusCode = 201;
res.send(r.insertedId); res.send({"id":r.insertedId});
} }
......
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