fix: resolved identity roleId not setting null for predefined role switch

This commit is contained in:
=
2024-06-27 15:06:00 +05:30
parent 7cdc47cd3a
commit cfba8f53e3

View File

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