patch group mapping

This commit is contained in:
Maidul Islam
2025-10-01 14:19:05 -04:00
parent c03af5daf2
commit 7e8e955523

View File

@@ -33,6 +33,7 @@ export const constructGroupOrgMembershipRoleMappings = async ({
let customRolesMap: Map<string, TOrgRoles> = new Map();
if (customRoleSlugs.length > 0) {
const customRoles = await orgRoleDAL.find({
orgId,
$in: {
slug: customRoleSlugs
}