feat(community): 댓글 작성자 식별자를 조회한다
This commit is contained in:
@@ -253,6 +253,7 @@ class CreatorChannelCommunityQueryService(
|
||||
): CreatorChannelCommunityComment {
|
||||
return CreatorChannelCommunityComment(
|
||||
commentId = commentId,
|
||||
writerId = writerId,
|
||||
writerProfileImageUrl = writerProfilePath.toCdnUrl(cloudFrontHost) ?: defaultProfileImageUrl(),
|
||||
writerNickname = writerNickname.removeDeletedNicknamePrefix(),
|
||||
content = content,
|
||||
@@ -264,6 +265,7 @@ class CreatorChannelCommunityQueryService(
|
||||
private fun CreatorChannelCommunityCommentRecord.toReplyDomain(): CreatorChannelCommunityReply {
|
||||
return CreatorChannelCommunityReply(
|
||||
commentId = commentId,
|
||||
writerId = writerId,
|
||||
writerProfileImageUrl = writerProfilePath.toCdnUrl(cloudFrontHost) ?: defaultProfileImageUrl(),
|
||||
writerNickname = writerNickname.removeDeletedNicknamePrefix(),
|
||||
content = content,
|
||||
|
||||
@@ -17,6 +17,7 @@ data class CreatorChannelCommunityComments(
|
||||
|
||||
data class CreatorChannelCommunityComment(
|
||||
val commentId: Long,
|
||||
val writerId: Long,
|
||||
val writerProfileImageUrl: String,
|
||||
val writerNickname: String,
|
||||
val content: String,
|
||||
@@ -33,6 +34,7 @@ data class CreatorChannelCommunityReplies(
|
||||
|
||||
data class CreatorChannelCommunityReply(
|
||||
val commentId: Long,
|
||||
val writerId: Long,
|
||||
val writerProfileImageUrl: String,
|
||||
val writerNickname: String,
|
||||
val content: String,
|
||||
|
||||
Reference in New Issue
Block a user