chore: replace body schema with signUpEmailBodySchema (#7017)

This commit is contained in:
Alex Yang
2025-12-31 21:36:19 +08:00
parent 40df9a4f19
commit fd3e95eafa
@@ -31,7 +31,7 @@ export const signUpEmail = <O extends BetterAuthOptions>() =>
method: "POST",
operationId: "signUpWithEmailAndPassword",
use: [formCsrfMiddleware],
body: z.record(z.string(), z.any()),
body: signUpEmailBodySchema,
metadata: {
allowedMediaTypes: [
"application/x-www-form-urlencoded",