Skip to content

Commit

Permalink
refactor: replyTo 항목 주석처리
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Nov 10, 2024
1 parent 6cf2a04 commit ec472e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public PostResponseDto toPostResponseDto(Post post, User user, LikeRepository li
.isLikedByUser(isLikedByUser(post, user, likeRepository))
.postType(postType)
.myPost(isMyPost(post, user))
.replyTo(getCustomId(post))
// .replyTo(getCustomId(post))
.images(toImageResponse(post))
.replies(toReplies(post.getReplies(), user, likeRepository, postType))
.build();
Expand All @@ -47,7 +47,7 @@ public ParentPostResponseDto toParentPostResponseDto(Post post, User user, LikeR
.repostingUserId(repostingUserId)
.postType(postType)
.myPost(isMyPost(post, user))
.replyTo(getCustomId(post))
// .replyTo(getCustomId(post))
.images(toImageResponse(post))
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public record ParentPostResponseDto(
Type postType,
Boolean myPost,
Boolean isLikedByUser,
String replyTo,
// String replyTo,
List<ImageResponse> images
) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public record PostResponseDto(
Boolean isLikedByUser, // 좋아요 여부 확인
Type postType,
Boolean myPost,
String replyTo,
// String replyTo,
List<ImageResponse> images,
List<PostResponseDto> replies
) {
Expand Down

0 comments on commit ec472e6

Please sign in to comment.