mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +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) {
|
app.get('/features', function (req, res) {
|
||||||
db.getFeatures().then(function (features) {
|
db.getFeatures().then(function (features) {
|
||||||
res.json(features);
|
res.json({features: features});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user