fix. bad if statement
This commit is contained in:
parent
6555fcd9a3
commit
afd79e308f
|
@ -105,7 +105,7 @@ export class Client {
|
|||
}
|
||||
|
||||
async login(): Promise<LoginResponse> {
|
||||
if (!this._options.privateKey) {
|
||||
if (this._options.privateKey) {
|
||||
return this.loginPubkey();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue