fix: 홈 메인 API - 인기 크리에이터
- 팔로잉 여부 추가
This commit is contained in:
@@ -75,7 +75,13 @@ class HomeService(
|
||||
}
|
||||
.map {
|
||||
val followerCount = explorerQueryRepository.getNotificationUserIds(it.id!!).size
|
||||
it.toExplorerSectionCreator(imageHost, followerCount)
|
||||
val follow = if (memberId != null) {
|
||||
explorerQueryRepository.isFollow(it.id!!, memberId = memberId)
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
||||
it.toExplorerSectionCreator(imageHost, follow, followerCount = followerCount)
|
||||
}
|
||||
|
||||
val latestContentThemeList = contentThemeService.getActiveThemeOfContent(
|
||||
|
||||
Reference in New Issue
Block a user