시리즈 상세, 채널 상세
- 19금 콘텐츠 보기 설정 적용
This commit is contained in:
@@ -675,19 +675,25 @@ class AudioContentService(
|
||||
sortType: SortType,
|
||||
member: Member,
|
||||
categoryId: Long = 0,
|
||||
isAdultContentVisible: Boolean,
|
||||
contentType: ContentType,
|
||||
offset: Long,
|
||||
limit: Long
|
||||
): GetAudioContentListResponse {
|
||||
val isAdult = member.auth != null && isAdultContentVisible
|
||||
|
||||
val totalCount = repository.findTotalCountByCreatorId(
|
||||
creatorId = creatorId,
|
||||
isAdult = member.auth != null,
|
||||
categoryId = categoryId
|
||||
isAdult = isAdult,
|
||||
categoryId = categoryId,
|
||||
contentType = contentType
|
||||
)
|
||||
|
||||
val audioContentList = repository.findByCreatorId(
|
||||
creatorId = creatorId,
|
||||
coverImageHost = coverImageHost,
|
||||
isAdult = member.auth != null,
|
||||
isAdult = isAdult,
|
||||
contentType = contentType,
|
||||
sortType = sortType,
|
||||
categoryId = categoryId,
|
||||
offset = offset,
|
||||
|
||||
Reference in New Issue
Block a user