diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/SelectCommunityPostResponse.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/SelectCommunityPostResponse.kt index 423fc4e..6056e10 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/SelectCommunityPostResponse.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/SelectCommunityPostResponse.kt @@ -39,7 +39,11 @@ data class SelectCommunityPostResponse @QueryProjection constructor( if (existOrdered) { content } else { - content.substring(0, 15).plus("...") + if (content.length > 15) { + content.substring(0, 15).plus("...") + } else { + content.substring(0, content.length / 2).plus("...") + } } } else { content