Skip to content

Commit

Permalink
feat: slight trusted orgs tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
benstoltz committed May 20, 2024
1 parent 18c5f94 commit 45a10c4
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,7 @@ export const getAvailableToRequestAssociationCatalogs = (
// Get trusted orgs that aren't the current user's org or the community org
const trustedOrgIds =
context.trustedOrgIds?.filter((orgId) => {
return (
orgId !== context.currentUser?.orgId && orgId !== context.communityOrgId
);
return orgId !== context.currentUser?.orgId && orgId !== communityOrgId;
}) || [];
// Default catalogs to include
const catalogNames: WellKnownCatalog[] = ["myContent", "organization"];
Expand Down

0 comments on commit 45a10c4

Please sign in to comment.