share invitation
This commit is contained in:
@@ -280,7 +280,7 @@ export async function logoutCurrentSession() {
|
||||
if (token) {
|
||||
try {
|
||||
await api("/api/auth/logout", { method: "POST", headers: { Authorization: `Bearer ${token}` } });
|
||||
} catch {}
|
||||
} catch { }
|
||||
}
|
||||
clearAuthSession();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user