fix: 🐛 add missing scope_id from credential sources for targets (#2247)

This commit is contained in:
Cameron Perera authored and GitHub committed 2024-04-16 11:31:54 -05:00
1 parent 9156c8612e
commit 98c16ad422
2 files changed
+2

No files matched your search

@@ -34,6 +34,7 @@ export default class ScopesScopeTargetsTargetAddBrokeredCredentialSourcesRoute e
const target = this.modelFor('scopes.scope.targets.target');
const { id: scope_id } = this.modelFor('scopes.scope');
const credentialStores = await this.store.query('credential-store', {
scope_id,
query: { filters: { scope_id: [{ equals: scope_id }] } },
});
await Promise.all(
@@ -34,6 +34,7 @@ export default class ScopesScopeTargetsTargetAddInjectedApplicationCredentialSou
const target = this.modelFor('scopes.scope.targets.target');
const { id: scope_id } = this.modelFor('scopes.scope');
const credentialStores = await this.store.query('credential-store', {
scope_id,
query: { filters: { scope_id: [{ equals: scope_id }] } },
});
await Promise.all(