공개 키 등록 구현

This commit is contained in:
static
2024-12-28 01:05:31 +09:00
parent dec17ecba8
commit c00dbe7024
8 changed files with 82 additions and 4 deletions

View File

@@ -1,8 +1,7 @@
import { callAPI } from "$lib/hooks";
import { accessTokenStore } from "$lib/stores";
export const requestLogin = async (email: string, password: string) => {
const res = await callAPI("/api/auth/login", {
const res = await fetch("/api/auth/login", {
method: "POST",
headers: {
"Content-Type": "application/json",