fix: 🐛 target cred sources association (#2040)

This commit is contained in:
Dharini Jeeva authored and GitHub committed 2023-12-11 16:32:58 -08:00
1 parent b51c8203ee
commit d06111c803
2 files changed
+4 -4

No files matched your search

@@ -40,11 +40,11 @@ export default class ScopesScopeTargetsTargetAddBrokeredCredentialSourcesRoute e
await all(
credentialStores.map(({ id: credential_store_id, isStatic }) => {
if (isStatic) {
return this.store.query('credential', {
this.store.query('credential', {
credential_store_id,
});
} else {
return this.store.query('credential-library', {
this.store.query('credential-library', {
credential_store_id,
});
}
@@ -40,11 +40,11 @@ export default class ScopesScopeTargetsTargetAddInjectedApplicationCredentialSou
await all(
credentialStores.map(({ id: credential_store_id, isStatic }) => {
if (isStatic) {
return this.store.query('credential', {
this.store.query('credential', {
credential_store_id,
});
} else {
return this.store.query('credential-library', {
this.store.query('credential-library', {
credential_store_id,
});
}