Skip to content

Commit

Permalink
Merge pull request #33043 from appsmithorg/cp/20240430
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhi-nair committed Apr 29, 2024
2 parents f4ca2fc + cd8ad11 commit d26226b
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -51,6 +51,7 @@
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.stream.Collectors;

Expand Down Expand Up @@ -118,6 +119,7 @@ public Flux<Plugin> getInWorkspace(@NonNull String workspaceId) {

Set<String> pluginIds = workspace.getPlugins().stream()
.map(WorkspacePlugin::getPluginId)
.filter(Objects::nonNull)
.collect(Collectors.toUnmodifiableSet());

return repository.findAllById(pluginIds);
Expand Down

0 comments on commit d26226b

Please sign in to comment.