diff --git a/src/main/java/org/gachon/checkmate/domain/report/controller/ReportController.java b/src/main/java/org/gachon/checkmate/domain/report/controller/ReportController.java index 39584cb..6992b69 100644 --- a/src/main/java/org/gachon/checkmate/domain/report/controller/ReportController.java +++ b/src/main/java/org/gachon/checkmate/domain/report/controller/ReportController.java @@ -18,18 +18,19 @@ @RequestMapping("/api/report") @RestController public class ReportController { + private final ReportService reportService; @PostMapping("/post") - public ResponseEntity> reportPost(@UserId Long userId, - @RequestBody @Valid PostReportRequestDto requestDto) { + public ResponseEntity> reportPost(@UserId final Long userId, + @RequestBody @Valid final PostReportRequestDto requestDto) { reportService.reportPost(userId, requestDto); return SuccessResponse.created(null); } @PostMapping("/chat-room") - public ResponseEntity> reportChatRoom(@UserId Long userId, - @RequestBody @Valid ChatRoomReportRequestDto requestDto) { + public ResponseEntity> reportChatRoom(@UserId final Long userId, + @RequestBody @Valid final ChatRoomReportRequestDto requestDto) { reportService.reportChatRoom(userId, requestDto); return SuccessResponse.created(null); }