diff --git a/routes/storage.js b/routes/storage.js index 813a5b9ccc05ec25a8fdee7cf843da130106fe49..d2d2661d3e11b13a9255cfa19b95082b65576540 100644 --- a/routes/storage.js +++ b/routes/storage.js @@ -51,7 +51,7 @@ router.post('/', function(req, res, next){ db.close(); res.statusCode = 201; - res.send({"id":r.insertedId}); + res.send({"_id":r.insertedId}); }