fix: 홈 메인 API - 인기 크리에이터

- 팔로잉 여부 추가
This commit is contained in:
2025-07-21 18:21:53 +09:00
parent e068b57062
commit 3d695069a2
3 changed files with 15 additions and 3 deletions

View File

@@ -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(