mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 20:27:12 +00:00
fix: resolved identity roleId not setting null for predefined role switch
This commit is contained in:
@@ -115,7 +115,7 @@ export const identityServiceFactory = ({
|
|||||||
{ identityId: id },
|
{ identityId: id },
|
||||||
{
|
{
|
||||||
role: customRole ? OrgMembershipRole.Custom : role,
|
role: customRole ? OrgMembershipRole.Custom : role,
|
||||||
roleId: customRole?.id
|
roleId: customRole?.id || null
|
||||||
},
|
},
|
||||||
tx
|
tx
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user