File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/main/java/clap/server
adapter/inbound/web/dto/history/response Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,15 @@ public static record TaskDetails(
2828 ) {}
2929
3030 public static record CommentDetails (
31+ Long commentId ,
3132 String nickName ,
3233 String profileImageUrl ,
3334 boolean isModified ,
3435 String comment
3536 ) {}
3637
3738 public static record CommentFileDetails (
39+ Long commentId ,
3840 String nickName ,
3941 String profileImageUrl ,
4042 boolean isModified ,
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public static FindTaskHistoryResponse toFindTaskHistoryResponse(List<TaskHistory
3636 case COMMENT -> new FindTaskHistoryResponse .Details (
3737 null ,
3838 new FindTaskHistoryResponse .CommentDetails (
39+ taskHistory .getComment ().getCommentId (),
3940 taskHistory .getComment ().getMember ().getNickname (),
4041 taskHistory .getComment ().getMember ().getImageUrl (),
4142 taskHistory .getComment ().isModified (),
@@ -50,6 +51,7 @@ public static FindTaskHistoryResponse toFindTaskHistoryResponse(List<TaskHistory
5051 .filter (attachment -> attachment .getComment ().getCommentId ().equals (taskHistory .getComment ().getCommentId ()))
5152 .findFirst ()
5253 .map (attachment -> new FindTaskHistoryResponse .CommentFileDetails (
54+ taskHistory .getComment ().getCommentId (),
5355 taskHistory .getComment ().getMember ().getNickname (),
5456 taskHistory .getComment ().getMember ().getImageUrl (),
5557 taskHistory .getComment ().isModified (),
You can’t perform that action at this time.
0 commit comments