시리즈 콘텐츠 추가
- 시리즈 콘텐츠를 시리즈에 추가할 때 set 타입으로 변환하여 중복 제거
This commit is contained in:
@@ -242,7 +242,7 @@ class CreatorAdminContentSeriesService(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (seriesContentList.size > 0) {
|
if (seriesContentList.size > 0) {
|
||||||
series.contentList.addAll(seriesContentList)
|
series.contentList.addAll(seriesContentList.toSet())
|
||||||
} else {
|
} else {
|
||||||
throw SodaException("추가된 콘텐츠가 없습니다.")
|
throw SodaException("추가된 콘텐츠가 없습니다.")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user