From 9d846dec1d0c21c93b6afe5039967ce19f35d4ab Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 10 Apr 2024 14:37:39 +0100 Subject: [PATCH] changed blocked key blocked server on blocked server endpoint --- src/main/java/cc.fascinated/controller/ServerController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc.fascinated/controller/ServerController.java b/src/main/java/cc.fascinated/controller/ServerController.java index a44e66e..60a8867 100644 --- a/src/main/java/cc.fascinated/controller/ServerController.java +++ b/src/main/java/cc.fascinated/controller/ServerController.java @@ -53,7 +53,7 @@ public class ServerController { public ResponseEntity getServerBlockedStatus( @Parameter(description = "The hostname of the server", example = "play.hypixel.net") @PathVariable String hostname) { return ResponseEntity.ok(Map.of( - "banned", mojangService.isServerBlocked(hostname) + "blocked", mojangService.isServerBlocked(hostname) )); } }