feat(community): 댓글 작성자 식별자를 조회한다

This commit is contained in:
2026-07-07 17:56:02 +09:00
parent bf103dedd7
commit 741f71d8a9
3 changed files with 9 additions and 0 deletions

View File

@@ -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,

View File

@@ -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,