Merge pull request #2032 from akhilmhdh/fix/role-bug

Resolved identity roleId not setting null for predefined role selection
This commit is contained in:
Akhil Mohan
2024-07-01 19:42:17 +05:30
committed by GitHub

View File

@@ -127,7 +127,7 @@ export const identityServiceFactory = ({
{ identityId: id },
{
role: customRole ? OrgMembershipRole.Custom : role,
roleId: customRole?.id
roleId: customRole?.id || null
},
tx
);