put instead of post

This commit is contained in:
peintnermax
2024-04-26 09:41:08 +02:00
parent a6a5f7268b
commit 1e7bbc4aca

View File

@@ -123,7 +123,7 @@ export default function LoginOTP({
} }
const res = await fetch("/api/session", { const res = await fetch("/api/session", {
method: "POST", method: "PUT",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
}, },