From 5b60fffc04e81231a7ea2e785f4b46cc7c3f0ca5 Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Wed, 26 Aug 2015 20:08:52 -0400 Subject: [PATCH] whoops --- lib/cloudapi2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); };