1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00

improved unleash-server api

This commit is contained in:
Ivar Conradi Østhus 2014-10-21 15:56:17 +02:00
parent 562c2c3d13
commit d2555fe710

View File

@ -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});
});
});