From 205fe702602f5074a8072dccab18aa3ee8ddaf9e Mon Sep 17 00:00:00 2001 From: dongkyeomjang Date: Sat, 7 Dec 2024 02:04:29 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20BugFix/#196=20-=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=EA=B8=80=20Overview=20=EC=A1=B0=ED=9A=8C=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EA=B8=80=EC=9E=90=EC=88=98=20=EC=98=A4=ED=83=80?= =?UTF-8?q?=EB=A1=9C=20=EB=B0=9C=EC=83=9D=ED=95=98=EB=8A=94=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dto/response/ReadBoardOverviewResponseDto.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/daon/onjung/suggestion/application/dto/response/ReadBoardOverviewResponseDto.java b/src/main/java/com/daon/onjung/suggestion/application/dto/response/ReadBoardOverviewResponseDto.java index 6d31f80..e260eff 100644 --- a/src/main/java/com/daon/onjung/suggestion/application/dto/response/ReadBoardOverviewResponseDto.java +++ b/src/main/java/com/daon/onjung/suggestion/application/dto/response/ReadBoardOverviewResponseDto.java @@ -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())