From d69a6372756b0e14aa04c4644af9dee3b1ca7269 Mon Sep 17 00:00:00 2001 From: pal-sig <88981777+pal-sig@users.noreply.github.com> Date: Mon, 11 Oct 2021 16:16:20 +0530 Subject: [PATCH] fix: signup page is now fixed (#337) --- frontend/src/api/user/signup.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/api/user/signup.ts b/frontend/src/api/user/signup.ts index 7173cc1978..d92c03cb18 100644 --- a/frontend/src/api/user/signup.ts +++ b/frontend/src/api/user/signup.ts @@ -8,9 +8,7 @@ const signup = async ( props: Props, ): Promise | ErrorResponse> => { try { - const response = await axios.post('/user?email=', { - ...props, - }); + const response = await axios.post(`/user?email=${props.email}`); return { statusCode: 200,