From 1e7bbc4aca346ef9cef01f6ccb5ea8fe6398136a Mon Sep 17 00:00:00 2001 From: peintnermax Date: Fri, 26 Apr 2024 09:41:08 +0200 Subject: [PATCH] put instead of post --- apps/login/ui/LoginOTP.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/login/ui/LoginOTP.tsx b/apps/login/ui/LoginOTP.tsx index d86e15bf16b..d046c8ebc2c 100644 --- a/apps/login/ui/LoginOTP.tsx +++ b/apps/login/ui/LoginOTP.tsx @@ -123,7 +123,7 @@ export default function LoginOTP({ } const res = await fetch("/api/session", { - method: "POST", + method: "PUT", headers: { "Content-Type": "application/json", },