Skip to content

Commit

Permalink
🐞 BugFix/#196 - κ²Œμ‹œκΈ€ Overview μ‘°νšŒμ—μ„œ κΈ€μžμˆ˜ μ˜€νƒ€λ‘œ λ°œμƒν•˜λŠ” 버그 μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
dongkyeomjang committed Dec 6, 2024
1 parent 36e0056 commit 205fe70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public static BoardListDto fromEntity(Board board) {
.id(board.getId())
.imgUrl(board.getImgUrl())
.status(board.getStatus().toString())
.titleSummary(board.getTitle().length() > 30 ? board.getTitle().substring(0, 15) : board.getTitle())
.contentSummary(board.getContent().length() > 30 ? board.getContent().substring(0, 60) : board.getContent())
.titleSummary(board.getTitle().length() > 15 ? board.getTitle().substring(0, 15) : board.getTitle())
.contentSummary(board.getContent().length() > 60 ? board.getContent().substring(0, 60) : board.getContent())
.postedAgo(DateTimeUtil.calculatePostedAgo(board.getCreatedAt()))
.likeCount(board.getLikeCount())
.commentCount(board.getCommentCount())
Expand Down

0 comments on commit 205fe70

Please sign in to comment.