fix: use _jwtToken

This commit is contained in:
Derrick Hammer 2024-03-13 18:27:59 -04:00
parent 3bc2dfadce
commit f8f8780f97
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ export class AccountApi {
ret = this.checkSuccessVal<LoginResponse>(ret); ret = this.checkSuccessVal<LoginResponse>(ret);
if (ret) { if (ret) {
this.jwtToken = (ret as LoginResponse).token; this._jwtToken = (ret as LoginResponse).token;
return true; return true;
} }
@ -63,7 +63,7 @@ export class AccountApi {
} }
public async logout(): Promise<boolean> { public async logout(): Promise<boolean> {
this.jwtToken = undefined; this._jwtToken = undefined;
return true; return true;
} }