diff --git a/src/client/jwt.ts b/src/client/jwt.ts index 985373ea2..9d76ff857 100644 --- a/src/client/jwt.ts +++ b/src/client/jwt.ts @@ -50,7 +50,7 @@ export async function logOut(allSessions: boolean = false) { __isLoggedIn = false; const response = await fetch( - getApiBase() + allSessions ? "/revoke" : "/logout", + getApiBase() + (allSessions ? "/revoke" : "/logout"), { method: "POST", headers: {