changed blocked key blocked server on blocked server endpoint
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Has been cancelled

This commit is contained in:
Lee 2024-04-10 14:37:39 +01:00
parent c9a4e2d4ea
commit 9d846dec1d

@ -53,7 +53,7 @@ public class ServerController {
public ResponseEntity<?> getServerBlockedStatus( public ResponseEntity<?> getServerBlockedStatus(
@Parameter(description = "The hostname of the server", example = "play.hypixel.net") @PathVariable String hostname) { @Parameter(description = "The hostname of the server", example = "play.hypixel.net") @PathVariable String hostname) {
return ResponseEntity.ok(Map.of( return ResponseEntity.ok(Map.of(
"banned", mojangService.isServerBlocked(hostname) "blocked", mojangService.isServerBlocked(hostname)
)); ));
} }
} }