fix(signup): remove duplicate role_key field from professional registration
All checks were successful
build-and-release / build (push) Successful in 1m29s

The register() request body sent both profession and role_key with the
same value. The backend's registration DTO aliases role_key onto the same
field as profession, so serde_json rejected the payload outright with a
"duplicate field" deserialization error — professional signup was
returning 422 for every role in production.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Ashwin Kumar Sivakumar 2026-07-14 22:14:10 +05:30
parent 5290e7c70f
commit 3ec5e60d15

View file

@ -173,7 +173,6 @@ export default function ProfessionalSignupRoute() {
phone: "",
intent: "professional",
profession: profession().toUpperCase(),
role_key: profession().toUpperCase(),
}),
});