mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 15:08:46 +00:00
네이밍 관련 리팩토링
This commit is contained in:
@@ -9,9 +9,7 @@ export { requestMasterKeyDownload } from "$lib/services/key";
|
||||
export const requestLogin = async (email: string, password: string) => {
|
||||
const res = await fetch("/api/auth/login", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ email, password } satisfies LoginRequest),
|
||||
});
|
||||
return res.ok;
|
||||
|
||||
Reference in New Issue
Block a user