Skip to content

Commit

Permalink
fix: totalCommentCount v1 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
char-yb committed Oct 15, 2024
1 parent b78ad70 commit ab0fb52
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public record FeedContentGetResponse(
String missionRecordImageUrl,
@Schema(description = "미션 기록 생성일") LocalDate createdDate,
@Schema(description = "부스트") Long totalBoostCount,
@Schema(description = "댓글 수", example = "12") Integer totalCommentCount,
@Schema(description = "미션 기록 컨텐츠") String content) {
public static FeedContentGetResponse from(FindFeedDto missionRecord) {
return new FeedContentGetResponse(
Expand All @@ -31,7 +30,6 @@ public static FeedContentGetResponse from(FindFeedDto missionRecord) {
missionRecord.missionRecord().getImageUrl(),
missionRecord.missionRecord().getCreatedAt().toLocalDate(),
missionRecord.totalBoostCount(),
missionRecord.totalCommentCount(),
missionRecord.missionRecord().getContent());
}
}

0 comments on commit ab0fb52

Please sign in to comment.