공개 키 등록 구현

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

No files matched your search

@@ -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",