From cdd4b25c6c09b2eb9a7a7e80f62e972ecbc14077 Mon Sep 17 00:00:00 2001 From: user Date: Wed, 8 Nov 2023 16:28:00 +0530 Subject: [PATCH] Add minor improvement --- .../user/invitation/management/InvitationCoreServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/org.wso2.carbon.identity.organization.user.invitation.management/src/main/java/org/wso2/carbon/identity/organization/user/invitation/management/InvitationCoreServiceImpl.java b/components/org.wso2.carbon.identity.organization.user.invitation.management/src/main/java/org/wso2/carbon/identity/organization/user/invitation/management/InvitationCoreServiceImpl.java index 4d1d508de..f2969f8df 100644 --- a/components/org.wso2.carbon.identity.organization.user.invitation.management/src/main/java/org/wso2/carbon/identity/organization/user/invitation/management/InvitationCoreServiceImpl.java +++ b/components/org.wso2.carbon.identity.organization.user.invitation.management/src/main/java/org/wso2/carbon/identity/organization/user/invitation/management/InvitationCoreServiceImpl.java @@ -30,7 +30,6 @@ import org.wso2.carbon.identity.event.event.Event; import org.wso2.carbon.identity.organization.management.organization.user.sharing.OrganizationUserSharingService; import org.wso2.carbon.identity.organization.management.organization.user.sharing.OrganizationUserSharingServiceImpl; -import org.wso2.carbon.identity.organization.management.organization.user.sharing.internal.OrganizationUserSharingDataHolder; import org.wso2.carbon.identity.organization.management.organization.user.sharing.util.OrganizationSharedUserUtil; import org.wso2.carbon.identity.organization.management.service.OrganizationManager; import org.wso2.carbon.identity.organization.management.service.exception.OrganizationManagementException; @@ -189,7 +188,7 @@ public boolean acceptInvitation(String confirmationCode) throws UserInvitationMg OrganizationUserSharingService userSharingService = new OrganizationUserSharingServiceImpl(); OrganizationManager organizationManager = UserInvitationMgtDataHolder.getInstance() .getOrganizationManagerService(); - RoleManagementService roleManagementService = OrganizationUserSharingDataHolder.getInstance() + RoleManagementService roleManagementService = UserInvitationMgtDataHolder.getInstance() .getRoleManagementService(); String invitedOrganizationId = invitation.getInvitedOrganizationId(); String invitedTenantDomain = organizationManager.resolveTenantDomain(invitedOrganizationId);