From 98048a7c177920a6fef26f85e659ba755f55532c Mon Sep 17 00:00:00 2001 From: andreagerino Date: Fri, 27 Nov 2015 19:01:23 +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 773d966..813a5b9 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(r.insertedId); + res.send({"id":r.insertedId}); } -- 2.18.1