Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public class ReportConverter {
public static CommunityReport toReport(Long communityId, ReportStatus reportStatus) {
return CommunityReport.builder()
.reportStatus(reportStatus)
.communityId(communityId)
.build();
}
public static ReportResDTO.ReportRes toReportResDTO(CommunityReport communityReport) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ReportController {
})
@Parameters({
@Parameter(name = "Authorization", description = "RequestHeader - 로그인한 사용자 토큰"),
@Parameter(name = "community_id ", description = "PathVariable - 커뮤니티 글 아이디"),
@Parameter(name = "community_id", description = "PathVariable - 커뮤니티 글 아이디"),
})
public ApiResponse<ReportResDTO.ReportRes> createCommunityReport(@RequestHeader(name = "Authorization") String accessToken,
@PathVariable(name = "community_id") Long targetId){
Expand Down
Loading