추천채널, 팔로잉 채널 API - 나를 차단한 유저는 표시되지 않도록 수정
This commit is contained in:
parent
88520dbc7f
commit
8f50d05906
|
@ -113,6 +113,9 @@ class LiveRecommendRepository(
|
|||
.orderBy(Expressions.numberTemplate(Double::class.java, "function('rand')").asc())
|
||||
.limit(limit)
|
||||
.fetch()
|
||||
.asSequence()
|
||||
.filter { !isBlocked(it.creatorId) }
|
||||
.toList()
|
||||
}
|
||||
|
||||
fun getOnAirFollowingChannelList(
|
||||
|
@ -188,6 +191,9 @@ class LiveRecommendRepository(
|
|||
.orderBy(Expressions.numberTemplate(Double::class.java, "function('rand')").asc())
|
||||
.limit(limit)
|
||||
.fetch()
|
||||
.asSequence()
|
||||
.filter { !isBlocked(it.creatorId) }
|
||||
.toList()
|
||||
}
|
||||
|
||||
fun getCreatorFollowingAllListTotalCount(memberId: Long, isBlocked: (Long) -> Boolean): Int {
|
||||
|
|
Loading…
Reference in New Issue