cli: fix api key handling.
This commit is contained in:
parent
86cf01f927
commit
2e8f39c431
4
bin/cli
4
bin/cli
@ -396,7 +396,7 @@ CLI.prototype.handleWallet = function handleWallet(callback) {
|
|||||||
|
|
||||||
this.wallet = new Wallet({
|
this.wallet = new Wallet({
|
||||||
uri: this.config.url || this.config.uri,
|
uri: this.config.url || this.config.uri,
|
||||||
apiKey: this.config.apiKey,
|
apiKey: this.config.apikey,
|
||||||
network: this.config.network
|
network: this.config.network
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -474,7 +474,7 @@ CLI.prototype.handleNode = function handleNode(callback) {
|
|||||||
|
|
||||||
this.client = new Client({
|
this.client = new Client({
|
||||||
uri: this.config.url || this.config.uri,
|
uri: this.config.url || this.config.uri,
|
||||||
apiKey: this.config.apiKey,
|
apiKey: this.config.apikey,
|
||||||
network: this.config.network
|
network: this.config.network
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user