From 78aba997e98f1ee2edde1d59932ec45d53fc1621 Mon Sep 17 00:00:00 2001 From: Benjamin Bolte Date: Thu, 7 Nov 2024 16:04:25 -0800 Subject: [PATCH] missed a spot --- frontend/src/components/auth/SignupWithEmail.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/auth/SignupWithEmail.tsx b/frontend/src/components/auth/SignupWithEmail.tsx index 6b9e4d28..d1c594cc 100644 --- a/frontend/src/components/auth/SignupWithEmail.tsx +++ b/frontend/src/components/auth/SignupWithEmail.tsx @@ -25,11 +25,14 @@ const SignupWithEmail = () => { }); const onSubmit = async ({ email }: EmailSignupType) => { - const { data, error } = await auth.client.POST("/email/signup/create", { - body: { - email, + const { data, error } = await auth.client.POST( + "/auth/email/signup/create", + { + body: { + email, + }, }, - }); + ); if (error) { addErrorAlert(error);