From 620e983011fb568bb17d3e4b9d0377ec6f20ba50 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 13 Mar 2024 17:54:26 -0400 Subject: [PATCH] fix: login needs to return bool --- src/account.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/account.ts b/src/account.ts index eeb62d1..e137068 100644 --- a/src/account.ts +++ b/src/account.ts @@ -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 {