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:
parent
562c2c3d13
commit
d2555fe710
@ -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});
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user