Commit 740ff4c5 authored by andreagerino's avatar andreagerino

...

parent 98048a7c
...@@ -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({"id":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