feat(community): 댓글 비밀 여부를 응답한다
This commit is contained in:
@@ -81,6 +81,8 @@ data class CreatorChannelCommunityCommentResponse(
|
||||
val writerProfileImageUrl: String,
|
||||
val writerNickname: String,
|
||||
val content: String,
|
||||
@JsonProperty("isSecret")
|
||||
val isSecret: Boolean,
|
||||
val createdAtUtc: String,
|
||||
val latestReply: CreatorChannelCommunityReplyResponse?
|
||||
) {
|
||||
@@ -92,6 +94,7 @@ data class CreatorChannelCommunityCommentResponse(
|
||||
writerProfileImageUrl = comment.writerProfileImageUrl,
|
||||
writerNickname = comment.writerNickname,
|
||||
content = comment.content,
|
||||
isSecret = comment.isSecret,
|
||||
createdAtUtc = comment.createdAt.toUtcIso(),
|
||||
latestReply = comment.latestReply?.let(CreatorChannelCommunityReplyResponse::from)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user