From 17ac5d92c14ae88d36ff498c124076c4f554d0b6 Mon Sep 17 00:00:00 2001 From: jae-2024 Date: Sun, 8 Mar 2026 21:28:42 +0900 Subject: [PATCH] =?UTF-8?q?[#61]=20Refactor:=20commentResponse=EC=97=90=20?= =?UTF-8?q?feedId=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/comment/dto/response/CommentResponse.java | 2 ++ 1 file changed, 2 insertions(+) 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(),