Skip to content

Commit

Permalink
Dedupe codespaces list
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Jan 28, 2025
1 parent 62fc375 commit f352d85
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ public FeedProvider getFeedProviderBySystemId(String systemId) {

@Override
public List<String> getCodespaces() {
return getFeedProviders().stream().map(FeedProvider::getCodespace).toList();
return getFeedProviders()
.stream()
.map(FeedProvider::getCodespace)
.distinct()
.toList();
}

@Override
Expand Down

0 comments on commit f352d85

Please sign in to comment.