diff --git a/routes/api.js b/routes/api.js index 54d394c..4a4d0de 100644 --- a/routes/api.js +++ b/routes/api.js @@ -77,7 +77,7 @@ var runner = function(req, res, container){ var makeWokerObj = function(worker){ console.log(worker); - worker.networks.forEach(function(value){ + worker.networks.v4.forEach(function(value){ worker[value.type+'IP'] = value.ip_address; }); worker.ip = worker.privateIP;