fix alive response

This commit is contained in:
Anton Romanov 2022-08-11 13:39:31 +04:00
parent 188eab6a09
commit ae24e05300

View File

@ -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")