Skip to content

Commit

Permalink
refactor: 헬스 체크 API 개선
Browse files Browse the repository at this point in the history
- 불필요한 ResponseEntity 생성 제거
  • Loading branch information
csct3434 committed Oct 25, 2024
1 parent 50a25aa commit 8be0963
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
package xyz.fanpool.chat_service.adapter.in.rest;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HealthController {

@GetMapping("/chat/health")
public ResponseEntity<Void> health() {
return ResponseEntity.ok().build();
public void health() {
}
}

0 comments on commit 8be0963

Please sign in to comment.