사용하지 않는 함수 제거
This commit is contained in:
		| @@ -122,31 +122,6 @@ class AudioContentMainService( | ||||
|             } | ||||
|             .toList() | ||||
|  | ||||
|     @Transactional(readOnly = true) | ||||
|     @Cacheable(cacheNames = ["default"], key = "'contentCurationList:' + #memberId + ':' + #isAdult") | ||||
|     fun getAudioContentCurationList(memberId: Long, isAdult: Boolean) = | ||||
|         repository.getAudioContentCurations(isAdult = isAdult) | ||||
|             .asSequence() | ||||
|             .map { | ||||
|                 GetAudioContentCurationResponse( | ||||
|                     curationId = it.id!!, | ||||
|                     title = it.title, | ||||
|                     description = it.description, | ||||
|                     contents = repository.findAudioContentByCurationId( | ||||
|                         curationId = it.id!!, | ||||
|                         cloudfrontHost = imageHost, | ||||
|                         isAdult = isAdult | ||||
|                     ) | ||||
|                         .asSequence() | ||||
|                         .filter { content -> | ||||
|                             !blockMemberRepository.isBlocked(blockedMemberId = memberId, memberId = content.creatorId) | ||||
|                         } | ||||
|                         .toList() | ||||
|                 ) | ||||
|             } | ||||
|             .filter { it.contents.isNotEmpty() } | ||||
|             .toList() | ||||
|  | ||||
|     @Transactional(readOnly = true) | ||||
|     @Cacheable( | ||||
|         cacheNames = ["default"], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user