TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.
TypeScript graphviewkanban-boardnodejsproductivityproject-managementself-hostedtasktask-managementtask-managertodoapp
import type { LogoutResponse } from '@/components/Authentication/LoginForm/Types';
import $api from '@/helpers/axios';
import { $ls } from '@/plugins/axios';
export async function logout() {
const result = await $api.post<LogoutResponse>('/module/auth/logout').catch((err) => {
console.log(err, $api);
});
if (result) {
await $ls.invalidateTokens();
return true;
}
return false;
}