fix registration validation config
This commit is contained in:
@@ -168,7 +168,7 @@ export async function registration(
|
||||
...(accountType === 'b2b' && { companyName })
|
||||
};
|
||||
|
||||
const validatedFields = SignupFormSchema.safeParse(dataToValidate);
|
||||
const validatedFields = await SignupFormSchema.safeParse(dataToValidate);
|
||||
|
||||
console.log(`try to register ${accountType}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user