diff --git a/src/main/java/com/cona/KUsukKusuk/comment/dto/CommentJoinResponse.java b/src/main/java/com/cona/KUsukKusuk/comment/dto/CommentJoinResponse.java index 28599e8..f6750da 100644 --- a/src/main/java/com/cona/KUsukKusuk/comment/dto/CommentJoinResponse.java +++ b/src/main/java/com/cona/KUsukKusuk/comment/dto/CommentJoinResponse.java @@ -8,13 +8,14 @@ @Builder public record CommentJoinResponse ( - Long commentId, String nickname, Long spotId, String comment + Long commentId, String nickname, Long spotId, String comment,String profileImage ) { public static CommentJoinResponse of(Comment comment){ return CommentJoinResponse.builder() .commentId(comment.getId()) .nickname(comment.getUser().getNickname()) + .profileImage(comment.getUser().getProfileimage()) .spotId(comment.getSpot().getId()) .comment(comment.getComment()) .build();