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