diff --git a/components/org.wso2.carbon.identity.organization.management.organization.user.sharing/src/main/java/org/wso2/carbon/identity/organization/management/organization/user/sharing/util/OrganizationSharedUserUtil.java b/components/org.wso2.carbon.identity.organization.management.organization.user.sharing/src/main/java/org/wso2/carbon/identity/organization/management/organization/user/sharing/util/OrganizationSharedUserUtil.java index b0297a527..5daec7b47 100644 --- a/components/org.wso2.carbon.identity.organization.management.organization.user.sharing/src/main/java/org/wso2/carbon/identity/organization/management/organization/user/sharing/util/OrganizationSharedUserUtil.java +++ b/components/org.wso2.carbon.identity.organization.management.organization.user.sharing/src/main/java/org/wso2/carbon/identity/organization/management/organization/user/sharing/util/OrganizationSharedUserUtil.java @@ -50,7 +50,8 @@ public static String getUserManagedOrganizationClaim(AbstractUserStoreManager us public static Optional getUserIdOfAssociatedUserByOrgId(String associatedUserId, String orgId) throws OrganizationManagementException { - UserAssociation userAssociation = OrganizationUserSharingDataHolder.getInstance().getOrganizationUserSharingService() + UserAssociation userAssociation = OrganizationUserSharingDataHolder.getInstance() + .getOrganizationUserSharingService() .getUserAssociationOfAssociatedUserByOrgId(associatedUserId, orgId); if (userAssociation == null) { return Optional.empty();