diff --git a/http-service/src/main/java/net/runelite/http/service/pluginhub/PluginHubController.java b/http-service/src/main/java/net/runelite/http/service/pluginhub/PluginHubController.java index f85e0d1..e3b0ee4 100644 --- a/http-service/src/main/java/net/runelite/http/service/pluginhub/PluginHubController.java +++ b/http-service/src/main/java/net/runelite/http/service/pluginhub/PluginHubController.java @@ -90,6 +90,7 @@ public ResponseEntity> get() @GetMapping("/shields/installs/plugin/{pluginName}") public ResponseEntity installs(@PathVariable String pluginName) { + pluginName = pluginName.toLowerCase(); if (pluginCounts.isEmpty()) { return ResponseEntity.status(HttpStatus.SERVICE_UNAVAILABLE) @@ -106,6 +107,7 @@ public ResponseEntity installs(@PathVariable String pluginName) @GetMapping("/shields/rank/plugin/{pluginName}") public ResponseEntity rank(@PathVariable String pluginName) { + pluginName = pluginName.toLowerCase(); if (pluginCounts.isEmpty()) { return ResponseEntity.status(HttpStatus.SERVICE_UNAVAILABLE)