네이밍 관련 리팩토링

This commit is contained in:
static
2025-01-09 02:59:59 +09:00
parent 122f802b19
commit 66daebe577
4 changed files with 15 additions and 17 deletions

View File

@@ -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;