Merge pull request #47 from hashicorp/oss/merge-main-df70c76b29698e2c8759e45df184e932cc753f71

[main] OSS to ENT merge of (df70c76)
This commit is contained in:
hc-github-team-secure-boundary authored and GitHub committed 2023-01-23 15:28:04 -08:00
commit 5543e3bde5
1 file changed
+7 -5
@@ -20,11 +20,13 @@ export default class ScopesScopeAuthMethodsAuthMethodManagedGroupsManagedGroupMe
return {
managedGroup,
members: await this.resourceFilterStore.queryBy(
'account',
{ id: member_ids },
{ auth_method_id }
),
members: member_ids?.length
? await this.resourceFilterStore.queryBy(
'account',
{ id: member_ids },
{ auth_method_id }
)
: [],
};
}
}