Skip to content

Commit

Permalink
[fix] token name
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnt committed Mar 26, 2013
1 parent b67fcfc commit 9d21de2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node.js/.gitignore
@@ -1,4 +1,4 @@
.DS_Store
npm-debug.log
node_modules
.idea
.idea
2 changes: 1 addition & 1 deletion node.js/lib/client/apps.js
Expand Up @@ -245,4 +245,4 @@ Apps.prototype.datacenter = function (appName, cloud, callback) {
callback(err, result);
});
}
};
};
2 changes: 1 addition & 1 deletion node.js/lib/client/client.js
Expand Up @@ -154,7 +154,7 @@ Client.prototype.cloud = function (options, api, callback) {
Client.prototype.request = function (options, callback) {
options = options || {};

var password = this.options.get('password') || this.options.get('api-token'),
var password = this.options.get('password') || this.options.get('apiToken'),
auth = new Buffer(this.options.get('username') + ':' + password).toString('base64'),
proxy = this.options.get('proxy'),
self = this,
Expand Down

0 comments on commit 9d21de2

Please sign in to comment.