feat(community): 댓글 작성자 식별자를 응답한다
This commit is contained in:
@@ -77,6 +77,7 @@ data class CreatorChannelCommunityCommentsResponse(
|
||||
|
||||
data class CreatorChannelCommunityCommentResponse(
|
||||
val commentId: Long,
|
||||
val writerId: Long,
|
||||
val writerProfileImageUrl: String,
|
||||
val writerNickname: String,
|
||||
val content: String,
|
||||
@@ -87,6 +88,7 @@ data class CreatorChannelCommunityCommentResponse(
|
||||
fun from(comment: CreatorChannelCommunityComment): CreatorChannelCommunityCommentResponse {
|
||||
return CreatorChannelCommunityCommentResponse(
|
||||
commentId = comment.commentId,
|
||||
writerId = comment.writerId,
|
||||
writerProfileImageUrl = comment.writerProfileImageUrl,
|
||||
writerNickname = comment.writerNickname,
|
||||
content = comment.content,
|
||||
@@ -120,6 +122,7 @@ data class CreatorChannelCommunityRepliesResponse(
|
||||
|
||||
data class CreatorChannelCommunityReplyResponse(
|
||||
val commentId: Long,
|
||||
val writerId: Long,
|
||||
val writerProfileImageUrl: String,
|
||||
val writerNickname: String,
|
||||
val content: String,
|
||||
@@ -129,6 +132,7 @@ data class CreatorChannelCommunityReplyResponse(
|
||||
fun from(reply: CreatorChannelCommunityReply): CreatorChannelCommunityReplyResponse {
|
||||
return CreatorChannelCommunityReplyResponse(
|
||||
commentId = reply.commentId,
|
||||
writerId = reply.writerId,
|
||||
writerProfileImageUrl = reply.writerProfileImageUrl,
|
||||
writerNickname = reply.writerNickname,
|
||||
content = reply.content,
|
||||
|
||||
Reference in New Issue
Block a user