Skip to content
Merged

feat #116

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 @@ -169,7 +169,7 @@ public List<CommunityCommentResponseDto> getCommunityCommentList(String communit
return communityTable.getCommentTable().stream().map(comment -> CommunityCommentResponseDto.builder()
.commentId(comment.getCommentId())
.commentContent(comment.getCommentContent())
.userId(comment.getContentId().getUserId().getId())
.userId(comment.getCommunityId().getId().getId())
.commentNickname(comment.getCommentNickname())
.commentDate(comment.getCommentDate())
.communityCommentReplyResponseDtoList(comment.getCommentCommentTable().stream()
Expand All @@ -178,7 +178,7 @@ public List<CommunityCommentResponseDto> getCommunityCommentList(String communit
.commentReplyContent(reply.getCommentCommentContent())
.commentReplyNickname(reply.getUserNickname())
.commentReplyDate(reply.getCommentCommentDate())
.userId(reply.getCommentId().getContentId().getUserId().getId())
.userId(reply.getCommentId().getCommunityId().getId().getId())
.build())
.collect(Collectors.toList()))
.build()).collect(Collectors.toList());
Expand Down