fix: signup page is now fixed (#337)

This commit is contained in:
pal-sig 2021-10-11 16:16:20 +05:30 committed by GitHub
parent d10b9790dc
commit d69a637275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,7 @@ const signup = async (
props: Props,
): Promise<SuccessResponse<undefined> | ErrorResponse> => {
try {
const response = await axios.post('/user?email=', {
...props,
});
const response = await axios.post(`/user?email=${props.email}`);
return {
statusCode: 200,