From a1dd42616fe55c5e26b3cac253e4e22940e47a86 Mon Sep 17 00:00:00 2001 From: Alec Watson Date: Fri, 18 Oct 2024 11:01:15 +0200 Subject: [PATCH] changes to google signup --- CoVAR-app/src/app/(pages)/login/signupForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoVAR-app/src/app/(pages)/login/signupForm.tsx b/CoVAR-app/src/app/(pages)/login/signupForm.tsx index cdeb62e..4ab9776 100644 --- a/CoVAR-app/src/app/(pages)/login/signupForm.tsx +++ b/CoVAR-app/src/app/(pages)/login/signupForm.tsx @@ -139,7 +139,7 @@ const Signup: React.FC = ({ toggleForm }) => { throw error; } const { role } = getUserResponse.data; - if (getUserResponse.status === 200) { + if (getUserResponse.status === 201) { if (role === "unauthorised") { router.replace('/lounge'); } else {