diff --git a/src/simapi.core.ts b/src/simapi.core.ts index 566d29d..5941226 100644 --- a/src/simapi.core.ts +++ b/src/simapi.core.ts @@ -311,7 +311,7 @@ export class SimApiCore { async logout(url?: string | null): Promise { if (url !== null) { - return this.query(url ?? this.auth.logout_url).catch(() => true) + this.query(url ?? this.auth.logout_url).catch(() => true) } this.removeToken() return true