diff --git a/lib/cloudapi2.js b/lib/cloudapi2.js index 736bf4c..28d5d44 100644 --- a/lib/cloudapi2.js +++ b/lib/cloudapi2.js @@ -405,7 +405,7 @@ CloudAPI.prototype.getMachine = function getMachine(id, cb) { var endpoint = sprintf('/%s/machines/%s', this.user, id); this._request(endpoint, function (err, req, res, body) { - callback(err, body, res); + cb(err, body, res); }); };