Skip to content

Commit

Permalink
[feat] #42 ReportController 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
OJOJIN committed Jan 13, 2024
1 parent 54571fd commit 0fee7f9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
@RequestMapping("/api/report")
@RestController
public class ReportController {

private final ReportService reportService;

@PostMapping("/post")
Expand All @@ -29,7 +30,7 @@ public ResponseEntity<SuccessResponse<?>> reportPost(@UserId final Long userId,

@PostMapping("/chat-room")
public ResponseEntity<SuccessResponse<?>> reportChatRoom(@UserId final Long userId,
@RequestBody @Valid final ChatRoomReportRequestDto requestDto) {
@RequestBody @Valid final ChatRoomReportRequestDto requestDto) {
reportService.reportChatRoom(userId, requestDto);
return SuccessResponse.created(null);
}
Expand Down

0 comments on commit 0fee7f9

Please sign in to comment.