feat(creator-cheers): 팬 Talk 응원글 조회시 결과에 언어 코드 추가
This commit is contained in:
@@ -488,6 +488,7 @@ class ExplorerQueryRepository(
|
||||
"$cloudFrontHost/profile/default-profile.png"
|
||||
},
|
||||
content = it.cheers,
|
||||
languageCode = it.languageCode,
|
||||
date = date.format(DateTimeFormatter.ofPattern("yyyy.MM.dd E hh:mm a")),
|
||||
replyList = it.children.asSequence()
|
||||
.map { cheers ->
|
||||
@@ -505,6 +506,7 @@ class ExplorerQueryRepository(
|
||||
"$cloudFrontHost/profile/default-profile.png"
|
||||
},
|
||||
content = cheers.cheers,
|
||||
languageCode = cheers.languageCode,
|
||||
date = replyDate.format(DateTimeFormatter.ofPattern("yyyy.MM.dd E hh:mm a")),
|
||||
replyList = listOf()
|
||||
)
|
||||
|
||||
@@ -11,6 +11,7 @@ data class GetCheersResponseItem(
|
||||
val nickname: String,
|
||||
val profileUrl: String,
|
||||
val content: String,
|
||||
val languageCode: String?,
|
||||
val date: String,
|
||||
val replyList: List<GetCheersResponseItem>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user