Skip to content

Commit

Permalink
Update components/application-mgt/org.wso2.carbon.identity.applicatio…
Browse files Browse the repository at this point in the history
…n.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/internal/impl/DiscoverableApplicationManagerImpl.java

Co-authored-by: Anuradha Karunarathna <anuradha199528@gmail.com>
  • Loading branch information
asha15 and AnuradhaSK committed Sep 15, 2024
1 parent 0a332c5 commit 8b82553
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ public List<ApplicationBasicInfo> getDiscoverableApplicationBasicInfo(int limit,
String primaryOrgID = ApplicationMgtUtil.getParentOrgId(tenantDomain);
return appDAO.getDiscoverableAppsInfoFromRootAndSubOrg(limit, offset, filter, sortOrder, sortBy,
tenantDomain, primaryOrgID);
} else {
return appDAO.getDiscoverableApplicationBasicInfo(limit, offset, filter, sortOrder, sortBy,
tenantDomain);
}
return appDAO.getDiscoverableApplicationBasicInfo(limit, offset, filter, sortOrder, sortBy,
tenantDomain);
} catch (OrganizationManagementException e) {
throw new IdentityApplicationManagementException(e.getErrorMessage(), e);
}
Expand Down

0 comments on commit 8b82553

Please sign in to comment.