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