diff --git a/src/main/java/Mua/Mua_backend/domain/comment/dto/response/CommentResponse.java b/src/main/java/Mua/Mua_backend/domain/comment/dto/response/CommentResponse.java index 5cc95b4..1cf377f 100644 --- a/src/main/java/Mua/Mua_backend/domain/comment/dto/response/CommentResponse.java +++ b/src/main/java/Mua/Mua_backend/domain/comment/dto/response/CommentResponse.java @@ -8,6 +8,7 @@ public record CommentResponse( Long commentId, + Long feedId, String description, Long parentId, Integer depth, @@ -20,6 +21,7 @@ public record CommentResponse( public static CommentResponse from(Comment comment) { return new CommentResponse( comment.getId(), + comment.getFeed().getId(), comment.getDescription(), comment.getParentId(), comment.getDepth(),