From 6fbafa1cba83290a3bbfb214e704cead404cfa7b Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Sivakumar Date: Sun, 5 Jul 2026 18:56:50 +0530 Subject: [PATCH] fix(profile): add COMPANY role to role_to_table mapping --- apps/users/src/handlers/profile.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/users/src/handlers/profile.rs b/apps/users/src/handlers/profile.rs index 8ed3d28..2b083f9 100644 --- a/apps/users/src/handlers/profile.rs +++ b/apps/users/src/handlers/profile.rs @@ -64,6 +64,7 @@ fn role_to_table(role_key: &str) -> Option<&'static str> { "UGC_CONTENT_CREATOR" => Some("ugc_content_creator_profiles"), "JOB_SEEKER" | "JOBSEEKER" => Some("job_seeker_profiles"), "CUSTOMER" => Some("customer_profiles"), + "COMPANY" => Some("company_profiles"), _ => None, } }