From 3ee5e908cf419e8556eda253b7b2b6ab335d01b7 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Sivakumar Date: Sun, 5 Jul 2026 16:51:30 +0530 Subject: [PATCH] fix(signup): add role_key to registration requests --- src/routes/signup/company.tsx | 1 + src/routes/signup/customer.tsx | 1 + src/routes/signup/jobseeker.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/src/routes/signup/company.tsx b/src/routes/signup/company.tsx index e8ac9b9..e316a97 100644 --- a/src/routes/signup/company.tsx +++ b/src/routes/signup/company.tsx @@ -168,6 +168,7 @@ export default function CompanySignupRoute() { phone: "", intent: "company", company_name: companyName().trim(), + role_key: "COMPANY", }), }); diff --git a/src/routes/signup/customer.tsx b/src/routes/signup/customer.tsx index 608a060..fa9866a 100644 --- a/src/routes/signup/customer.tsx +++ b/src/routes/signup/customer.tsx @@ -165,6 +165,7 @@ export default function CustomerSignupRoute() { password: password(), phone: "", intent: "customer", + role_key: "CUSTOMER", }), }); diff --git a/src/routes/signup/jobseeker.tsx b/src/routes/signup/jobseeker.tsx index cc66643..bbe9814 100644 --- a/src/routes/signup/jobseeker.tsx +++ b/src/routes/signup/jobseeker.tsx @@ -155,6 +155,7 @@ export default function JobSeekerSignupRoute() { password: password(), phone: "", intent: "job_seeker", + role_key: "JOB_SEEKER", }), });