fix: 커뮤니티 댓글 조회
- 결과값에 isSecret(비밀 댓글 여부) 추가
This commit is contained in:
@@ -81,6 +81,7 @@ class CreatorCommunityCommentQueryRepositoryImpl(
|
||||
creatorCommunityComment.member.nickname,
|
||||
creatorCommunityComment.member.profileImage.prepend("/").prepend(imageHost),
|
||||
creatorCommunityComment.comment,
|
||||
creatorCommunityComment.isSecret,
|
||||
formattedDate,
|
||||
Expressions.constant(0)
|
||||
)
|
||||
@@ -156,8 +157,9 @@ class CreatorCommunityCommentQueryRepositoryImpl(
|
||||
creatorCommunityComment.id,
|
||||
creatorCommunityComment.member.id,
|
||||
creatorCommunityComment.member.nickname,
|
||||
creatorCommunityComment.member.profileImage.prepend(imageHost),
|
||||
creatorCommunityComment.member.profileImage.prepend("/").prepend(imageHost),
|
||||
creatorCommunityComment.comment,
|
||||
creatorCommunityComment.isSecret,
|
||||
formattedDate,
|
||||
Expressions.constant(0)
|
||||
)
|
||||
|
@@ -13,6 +13,7 @@ data class GetCommunityPostCommentListItem @QueryProjection constructor(
|
||||
val nickname: String,
|
||||
val profileUrl: String,
|
||||
val comment: String,
|
||||
val isSecret: Boolean,
|
||||
val date: String,
|
||||
var replyCount: Int
|
||||
)
|
||||
|
Reference in New Issue
Block a user