chore: 🤖 rename application_credentials_sources_ids to brokered (#1255)

This commit is contained in:
Dharini Jeeva authored and GitHub committed 2022-08-15 09:48:12 -07:00
1 parent 39c0835a99
commit e3324ad64a
9 files changed
+37 -36

No files matched your search

+3 -3
View File
@@ -29,7 +29,7 @@ export default class TargetModel extends GeneratedTargetModel {
readOnly: true,
emptyArrayIfMissing: true,
})
application_credential_source_ids;
brokered_credential_source_ids;
/**
* An array of resolved host set and host catalog instances. Model instances
@@ -53,9 +53,9 @@ export default class TargetModel extends GeneratedTargetModel {
* instances). Unresolvable instances are excluded from the array.
* @type {[CredentialLibraryModel, CredentialModel]}
*/
@computed('application_credential_source_ids.[]', 'store')
@computed('brokered_credential_source_ids.[]', 'store')
get credentialSources() {
return this.application_credential_source_ids
return this.brokered_credential_source_ids
.map((source) => {
if (source.value.startsWith('cred')) {
return this.store.peekRecord('credential', source.value);