mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-04 00:18:40 +01:00
improved unleash-server api
This commit is contained in:
parent
66f8b01181
commit
dc54d8504a
@ -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