Артем Леванов
first commit
41a71fd
raw
history blame contribute delete
244 Bytes
import { $api } from '@/shared/api/axiosInstance';
type LogoutResponse = {
status: number;
message: string;
};
export const signOut = async () => {
const { data } = await $api.post<LogoutResponse>(`/logout`);
return data;
};