test #333

Merged
klaus merged 8 commits from test into main 2025-07-21 09:54:57 +00:00
2 changed files with 2 additions and 15 deletions
Showing only changes of commit e068b57062 - Show all commits

View File

@ -2,7 +2,6 @@ package kr.co.vividnext.sodalive.api.live
import kr.co.vividnext.sodalive.content.AudioContentService
import kr.co.vividnext.sodalive.content.ContentType
import kr.co.vividnext.sodalive.explorer.ExplorerQueryRepository
import kr.co.vividnext.sodalive.explorer.profile.creatorCommunity.CreatorCommunityService
import kr.co.vividnext.sodalive.live.recommend.LiveRecommendService
import kr.co.vividnext.sodalive.live.room.LiveRoomService
@ -19,8 +18,7 @@ class LiveApiService(
private val recommendService: LiveRecommendService,
private val creatorCommunityService: CreatorCommunityService,
private val blockMemberRepository: BlockMemberRepository,
private val explorerQueryRepository: ExplorerQueryRepository
private val blockMemberRepository: BlockMemberRepository
) {
fun fetchData(
isAdultContentVisible: Boolean,
@ -53,16 +51,6 @@ class LiveApiService(
val recommendLiveList = recommendService.getRecommendLive(member)
val latestFinishedLiveList = liveService.getLatestFinishedLive(member)
.map {
if (memberId != null) {
it.following = explorerQueryRepository.getCreatorFollowing(
creatorId = it.memberId,
memberId = memberId
)?.isFollow ?: false
}
it
}
val replayLive = contentService.getLatestContentByTheme(
theme = listOf("다시듣기"),

View File

@ -16,8 +16,7 @@ data class GetLatestFinishedLiveResponse(
@JsonProperty("memberId") val memberId: Long,
@JsonProperty("nickname") val nickname: String,
@JsonProperty("profileImageUrl") val profileImageUrl: String,
@JsonProperty("timeAgo") val timeAgo: String,
@JsonProperty("following") var following: Boolean = false
@JsonProperty("timeAgo") val timeAgo: String
) {
constructor(response: GetLatestFinishedLiveQueryResponse) : this(
response.memberId,