fix(signup): remove duplicate role_key field from professional registration
All checks were successful
build-and-release / build (push) Successful in 1m29s
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:
parent
5290e7c70f
commit
3ec5e60d15
1 changed files with 0 additions and 1 deletions
|
|
@ -173,7 +173,6 @@ export default function ProfessionalSignupRoute() {
|
|||
phone: "",
|
||||
intent: "professional",
|
||||
profession: profession().toUpperCase(),
|
||||
role_key: profession().toUpperCase(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue