Skip to content

Commit

Permalink
Merge pull request #2032 from akhilmhdh/fix/role-bug
Browse files Browse the repository at this point in the history
Resolved identity roleId not setting null for predefined role selection
  • Loading branch information
akhilmhdh committed Jul 1, 2024
2 parents 0bb2b28 + cfba8f5 commit 178ddf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/services/identity/identity-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const identityServiceFactory = ({
{ identityId: id },
{
role: customRole ? OrgMembershipRole.Custom : role,
roleId: customRole?.id
roleId: customRole?.id || null
},
tx
);
Expand Down

0 comments on commit 178ddf1

Please sign in to comment.