fix(profile): add COMPANY role to role_to_table mapping

This commit is contained in:
Ashwin Kumar Sivakumar 2026-07-05 18:56:50 +05:30
parent dd9478fd2b
commit 6fbafa1cba

View file

@ -64,6 +64,7 @@ fn role_to_table(role_key: &str) -> Option<&'static str> {
"UGC_CONTENT_CREATOR" => Some("ugc_content_creator_profiles"), "UGC_CONTENT_CREATOR" => Some("ugc_content_creator_profiles"),
"JOB_SEEKER" | "JOBSEEKER" => Some("job_seeker_profiles"), "JOB_SEEKER" | "JOBSEEKER" => Some("job_seeker_profiles"),
"CUSTOMER" => Some("customer_profiles"), "CUSTOMER" => Some("customer_profiles"),
"COMPANY" => Some("company_profiles"),
_ => None, _ => None,
} }
} }