시리즈 콘텐츠 제거
- removeIf를 이용하여 콘텐츠를 제거했지만 제거되지 않던 버그 수정
This commit is contained in:
		| @@ -253,6 +253,7 @@ class CreatorAdminContentSeriesService( | ||||
|         val series = repository.findByIdAndCreatorId(id = request.seriesId, creatorId = memberId) | ||||
|             ?: throw SodaException("잘못된 접근입니다.") | ||||
|  | ||||
|         series.contentList.removeIf { it.content!!.id == request.contentId } | ||||
|         val removeContentList = series.contentList.filter { it.content!!.id == request.contentId } | ||||
|         series.contentList.removeAll(removeContentList) | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user