feat(home): 인기 커뮤니티 좋아요 응답을 추가한다
This commit is contained in:
@@ -305,7 +305,8 @@ class HomeRecommendationFacade(
|
||||
createdAt = createdAt.toUtcIso(),
|
||||
likeCount = likeCount,
|
||||
commentCount = commentCount,
|
||||
existOrdered = existOrdered
|
||||
existOrdered = existOrdered,
|
||||
isLiked = isLiked
|
||||
)
|
||||
|
||||
companion object {
|
||||
|
||||
@@ -88,5 +88,7 @@ data class HomePopularCommunityPostItem(
|
||||
val createdAt: String,
|
||||
val likeCount: Long,
|
||||
val commentCount: Long,
|
||||
val existOrdered: Boolean
|
||||
val existOrdered: Boolean,
|
||||
@JsonProperty("isLiked")
|
||||
val isLiked: Boolean
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user