We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8ac0a commit 6271103Copy full SHA for 6271103
packages/backend/src/connectionManager.ts
@@ -96,7 +96,15 @@ export class ConnectionManager implements IConnectionManager {
96
return [];
97
}
98
99
- })();
+ )();
100
+
101
+ // Filter out any duplicates by external_id and external_codeHostUrl.
102
+ repoData.filter((repo, index, self) => {
103
+ return index === self.findIndex(r =>
104
+ r.external_id === repo.external_id &&
105
+ r.external_codeHostUrl === repo.external_codeHostUrl
106
+ );
107
+ })
108
109
// Filter out any duplicates by external_id and external_codeHostUrl.
110
repoData.filter((repo, index, self) => {
0 commit comments