cli: fix api key handling.

This commit is contained in:
Christopher Jeffrey 2016-08-24 10:11:14 -07:00
parent 86cf01f927
commit 2e8f39c431
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -396,7 +396,7 @@ CLI.prototype.handleWallet = function handleWallet(callback) {
this.wallet = new Wallet({
uri: this.config.url || this.config.uri,
apiKey: this.config.apiKey,
apiKey: this.config.apikey,
network: this.config.network
});
@ -474,7 +474,7 @@ CLI.prototype.handleNode = function handleNode(callback) {
this.client = new Client({
uri: this.config.url || this.config.uri,
apiKey: this.config.apiKey,
apiKey: this.config.apikey,
network: this.config.network
});