diff --git a/routes/api.js b/routes/api.js index 45b9436..c5d7efa 100644 --- a/routes/api.js +++ b/routes/api.js @@ -146,7 +146,7 @@ router.get('/info/:name', function(req, res, next){ }); router.get('/list', function(req, res, next) { - return lxc.list(function(data){ + return lxc.list(ip, function(data){ return res.json(data); }); });