Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[fix] Double array responses have been fixed.
  • Loading branch information
3rd-Eden committed Jan 13, 2013
1 parent 2f5d63e commit 7af5f2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node.js/lib/client/client.js
Expand Up @@ -66,8 +66,7 @@ Client.prototype.cloud = function (options, api, callback) {
self.request({ uri: argv }, function apps(err, result) {
if (err) return done(err);

// For some odd reason, the result is an array of arrays.
self.clouds[options.appName] = result[0];
self.clouds[options.appName] = result;
done();
});
}
Expand Down

0 comments on commit 7af5f2b

Please sign in to comment.