fix(profile): add COMPANY role to role_to_table mapping
This commit is contained in:
parent
dd9478fd2b
commit
6fbafa1cba
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue