From 740ff4c53e8d51a30a0a2430ce1e5b0939e363a9 Mon Sep 17 00:00:00 2001 From: andreagerino Date: Fri, 27 Nov 2015 19:44:16 +0100 Subject: [PATCH] ... --- routes/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/storage.js b/routes/storage.js index 813a5b9..d2d2661 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}); } -- 2.18.1