diff --git a/unleash-server/lib/api.js b/unleash-server/lib/api.js index 6d0a597b3c..4fa697dfdb 100644 --- a/unleash-server/lib/api.js +++ b/unleash-server/lib/api.js @@ -5,7 +5,7 @@ module.exports = function (app) { app.get('/features', function (req, res) { db.getFeatures().then(function (features) { - res.json(features); + res.json({features: features}); }); });