fix search params

This commit is contained in:
Max Peintner
2023-05-19 10:13:05 +02:00
parent 99f66af644
commit d08abbfaa9
8 changed files with 37 additions and 19 deletions

View File

@@ -28,7 +28,7 @@ export default function VerifyEmailForm({ userId }: Props) {
async function submitCode(values: Inputs) {
setLoading(true);
const res = await fetch("/email/verify", {
const res = await fetch("/verifyemail", {
method: "POST",
headers: {
"Content-Type": "application/json",