diff --git a/routes/index.js b/routes/index.js index fc21a57..a0f652f 100644 --- a/routes/index.js +++ b/routes/index.js @@ -72,7 +72,7 @@ router.get('/info/:name', function(req, res, next){ }); router.get('/list', function(req, res, next) { - lxc.list(res.json(data)); + lxc.list(res.json); }); module.exports = router;