mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
로그아웃 버튼 추가
This commit is contained in:
1 parent
919a67fedf
commit
9ab107794a
2 files changed
+22
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { callPostApi } from "$lib/hooks";
|
||||
|
||||
export const requestLogout = async () => {
|
||||
const res = await callPostApi("/api/auth/logout");
|
||||
return res.ok;
|
||||
};
|
||||
Reference in new issue
Block a user