fix alive response
This commit is contained in:
parent
188eab6a09
commit
ae24e05300
@ -25,8 +25,8 @@ public class UtilController {
|
||||
|
||||
@GetMapping("alive")
|
||||
@Operation(description = "Проверка сервиса")
|
||||
public ResponseEntity<Boolean> isAlive() {
|
||||
return new ResponseEntity<>(true, HttpStatus.OK);
|
||||
public ResponseEntity<Map<String, Boolean> isAlive() {
|
||||
return new ResponseEntity<>(Map.of("result", true), HttpStatus.OK);
|
||||
}
|
||||
|
||||
@GetMapping("getRandom")
|
||||
|
Loading…
Reference in New Issue
Block a user