forked from MinecraftUtilities/Backend
changed blocked key blocked server on blocked server endpoint
This commit is contained in:
parent
c9a4e2d4ea
commit
9d846dec1d
@ -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)
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user