Skip to content
Permalink
Browse files

[fix] this.cloud -> this.clouds

[fix] removed a pointless cloud call
  • Loading branch information...
3rd-Eden committed Jan 13, 2013
1 parent fd0cfaf commit 2f5d63e24570778ca8511d3fffd6184779585635
Showing with 2 additions and 2 deletions.
  1. +2 −2 node.js/lib/client/apps.js
@@ -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;
}
});
}
@@ -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);
};

//

0 comments on commit 2f5d63e

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.