diff --git a/src/main/java/cc.fascinated/controller/PlayerController.java b/src/main/java/cc.fascinated/controller/PlayerController.java index d3cebca..7b294f6 100644 --- a/src/main/java/cc.fascinated/controller/PlayerController.java +++ b/src/main/java/cc.fascinated/controller/PlayerController.java @@ -46,7 +46,7 @@ public class PlayerController { @PathVariable String id, @Parameter(description = "The size of the image", example = "256") @RequestParam(required = false, defaultValue = "256") int size, - @Parameter(description = "Whether to download the image", example = "false") + @Parameter(description = "Whether to download the image") @RequestParam(required = false, defaultValue = "false") boolean download) { Player player = playerManagerService.getPlayer(id); Skin.Parts skinPart = Skin.Parts.fromName(part); diff --git a/src/main/java/cc.fascinated/controller/ServerController.java b/src/main/java/cc.fascinated/controller/ServerController.java index 35c6eba..8be37c3 100644 --- a/src/main/java/cc.fascinated/controller/ServerController.java +++ b/src/main/java/cc.fascinated/controller/ServerController.java @@ -36,7 +36,7 @@ public class ServerController { public ResponseEntity getServerIcon( @Parameter(description = "The hostname and port of the server", example = "play.hypixel.net") @PathVariable String hostnameAndPort, - @Parameter(description = "Whether to download the image", example = "false") + @Parameter(description = "Whether to download the image") @RequestParam(required = false, defaultValue = "false") boolean download) { Tuple host = ServerUtils.getHostnameAndPort(hostnameAndPort); String hostname = host.getLeft();