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
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Has been cancelled
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…
x
Reference in New Issue
Block a user