크리에이터 콘텐츠 - 본인(크리에이터)만 오픈예정 콘텐츠가 보이도록 설정 변경
This commit is contained in:
@@ -979,9 +979,11 @@ class AudioContentService(
|
||||
limit: Long
|
||||
): GetAudioContentListResponse {
|
||||
val isAdult = member.auth != null && isAdultContentVisible
|
||||
val isCreator = member.id == creatorId
|
||||
|
||||
val totalCount = repository.findTotalCountByCreatorId(
|
||||
creatorId = creatorId,
|
||||
isCreator = isCreator,
|
||||
isAdult = isAdult,
|
||||
categoryId = categoryId,
|
||||
contentType = contentType
|
||||
@@ -989,6 +991,7 @@ class AudioContentService(
|
||||
|
||||
val audioContentList = repository.findByCreatorId(
|
||||
creatorId = creatorId,
|
||||
isCreator = isCreator,
|
||||
coverImageHost = coverImageHost,
|
||||
isAdult = isAdult,
|
||||
contentType = contentType,
|
||||
|
||||
Reference in New Issue
Block a user