feat(auth): add optional email to signup form
This commit is contained in:
@@ -63,6 +63,7 @@ export const registerWithOtp = async (
|
||||
re_password: string,
|
||||
first_name = "",
|
||||
last_name = "",
|
||||
email = "",
|
||||
) => {
|
||||
const normalizedMobile = normalizeDigits(mobile)
|
||||
const normalizedCode = normalizeDigits(code)
|
||||
@@ -75,6 +76,7 @@ export const registerWithOtp = async (
|
||||
re_password,
|
||||
first_name,
|
||||
last_name,
|
||||
email,
|
||||
}),
|
||||
})
|
||||
if (!response.ok) throw await buildApiError(response)
|
||||
|
||||
Reference in New Issue
Block a user