전체 새로운 콘텐츠

- 차단한 크리에이터의 콘텐츠를 차단 당한 유저에게 보이지 않도록 수정
This commit is contained in:
Klaus 2024-02-09 03:42:18 +09:00
parent dcd26308d3
commit 18f53df9f8
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ class AudioContentMainService(
offset = pageable.offset,
limit = pageable.pageSize.toLong()
)
.asSequence()
.filter { !blockMemberRepository.isBlocked(blockedMemberId = member.id!!, memberId = it.creatorId) }
.toList()
return GetNewContentAllResponse(totalCount, items)
}