diff --git a/routes/storage.js b/routes/storage.js index 773d966308f086a669618ac27403130552a0c2cb..813a5b9ccc05ec25a8fdee7cf843da130106fe49 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}); }