Turn endpoint to oneliner
This commit is contained in:
parent
0dd385728c
commit
b4824ce81f
@ -17,8 +17,6 @@ class HealthController {
|
||||
}
|
||||
|
||||
@GetMapping("/health")
|
||||
fun healthCheck(): ResponseEntity<HealthResponse> {
|
||||
return ResponseEntity.ok(HEALTH)
|
||||
}
|
||||
fun healthCheck(): ResponseEntity<HealthResponse> = ResponseEntity.ok(HEALTH)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user