Skip to content

Commit

Permalink
🐞unnecessary filter since CC API decommissionned
Browse files Browse the repository at this point in the history
  • Loading branch information
yannick-beot-sp committed Oct 18, 2024
1 parent a737744 commit a0aedc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/ISCTreeItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class SourcesTreeItem extends FolderTreeItem {
const sources = await client.getSources();
if (sources !== undefined && sources instanceof Array) {
results = sources
.filter(source => source.name && source.id && source.connectorAttributes?.["cloudExternalId"] && source.type) // filter any source that does not have name or id
.filter(source => source.name && source.id && source.type) // filter any source that does not have name or id
.map(source => new SourceTreeItem(
this.tenantId,
this.tenantName,
Expand Down

0 comments on commit a0aedc9

Please sign in to comment.