From f75511f0e066e4ddf39989e153d6dc605a7cca40 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Thu, 11 Aug 2022 13:42:39 +0400 Subject: [PATCH] fix alive response --- src/main/java/ru/ulstu/controller/UtilController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ru/ulstu/controller/UtilController.java b/src/main/java/ru/ulstu/controller/UtilController.java index 7840dc1..3c718f0 100644 --- a/src/main/java/ru/ulstu/controller/UtilController.java +++ b/src/main/java/ru/ulstu/controller/UtilController.java @@ -25,7 +25,7 @@ public class UtilController { @GetMapping("alive") @Operation(description = "Проверка сервиса") - public ResponseEntity isAlive() { + public ResponseEntity> isAlive() { return new ResponseEntity<>(Map.of("result", true), HttpStatus.OK); }