Turn endpoint to oneliner

This commit is contained in:
Stedoss 2025-04-18 07:05:55 +09:00
parent 0dd385728c
commit b4824ce81f

View File

@ -17,8 +17,6 @@ class HealthController {
} }
@GetMapping("/health") @GetMapping("/health")
fun healthCheck(): ResponseEntity<HealthResponse> { fun healthCheck(): ResponseEntity<HealthResponse> = ResponseEntity.ok(HEALTH)
return ResponseEntity.ok(HEALTH)
}
} }