fix: login needs to return bool

This commit is contained in:
Derrick Hammer 2024-03-13 17:54:26 -04:00
parent 42751d5214
commit 620e983011
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 1 deletions

View File

@ -51,9 +51,10 @@ export default class AccountApi {
if (ret) {
this.jwtToken = (ret as LoginResponse).token;
return true;
}
return ret as boolean;
return false;
}
public async logout(): Promise<boolean> {