config issue

This commit is contained in:
2016-01-29 16:25:20 -05:00
parent 3002f0148f
commit f142b65dae
2 changed files with 2 additions and 4 deletions

View File

@ -72,9 +72,7 @@ router.get('/info/:name', function(req, res, next){
});
router.get('/list', function(req, res, next) {
lxc.list(function(data){
res.json(data);
});
lxc.list(res.json(data));
});
module.exports = router;