mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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) {
 | 
					    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