Turn endpoint to oneliner
This commit is contained in:
parent
0dd385728c
commit
b4824ce81f
@ -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)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user