fix. bad if statement

This commit is contained in:
Derrick Hammer 2023-06-24 02:59:21 -04:00
parent 6555fcd9a3
commit afd79e308f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ export class Client {
} }
async login(): Promise<LoginResponse> { async login(): Promise<LoginResponse> {
if (!this._options.privateKey) { if (this._options.privateKey) {
return this.loginPubkey(); return this.loginPubkey();
} }