Navigation Menu

Skip to content

Commit

Permalink
[fix] this.cloud -> this.clouds
Browse files Browse the repository at this point in the history
[fix] removed a pointless cloud call
  • Loading branch information
3rd-Eden committed Jan 13, 2013
1 parent fd0cfaf commit 2f5d63e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node.js/lib/client/apps.js
Expand Up @@ -48,7 +48,7 @@ Apps.prototype.list = function (username, callback) {
if (username === self.options.get('username')) {
result.apps.forEach(function reduce(memo, app) {
if (app.config) {
self.cloud[app._id] = app.config.cloud;
self.clouds[app._id] = app.config.cloud;
}
});
}
Expand Down Expand Up @@ -117,7 +117,7 @@ Apps.prototype.destroy = function (appName, callback) {
appName = defaultUser.call(this, appName);
var argv = ['apps'].concat(appName.split('/'));

this.cloud({ method: 'DELETE', uri: argv, appName: appName }, this.request, callback);
this.request({ method: 'DELETE', uri: argv, appName: appName }, callback);
};

//
Expand Down

0 comments on commit 2f5d63e

Please sign in to comment.