fix: 🐛 target cred sources association (#2040)
This commit is contained in:
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,
|
||||
});
|
||||
}
|
||||
|
||||
+2
-2
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user