Skip to content

Commit

Permalink
fix(webserver): missing io based execution on plugin controller
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Mar 17, 2023
1 parent b0b8210 commit 8977672
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class PluginController {
private PluginService pluginService;

@Get(uri = "schemas/{type}")
@ExecuteOn(TaskExecutors.IO)
@Operation(
tags = {"Plugins"},
summary = "Get all json schemas for a type",
Expand Down Expand Up @@ -87,7 +88,9 @@ public List<Plugin> search() {
.collect(Collectors.toList());
}


@Get(uri = "icons")
@ExecuteOn(TaskExecutors.IO)
@Operation(tags = {"Plugins"}, summary = "Get plugins icons")
public Map<String, PluginIcon> icons() {
return pluginService
Expand Down

0 comments on commit 8977672

Please sign in to comment.