diff --git a/application/src/main/kotlin/com/pokit/content/port/service/DailyContentService.kt b/application/src/main/kotlin/com/pokit/content/port/service/DailyContentService.kt index de16161f..c556c7d0 100644 --- a/application/src/main/kotlin/com/pokit/content/port/service/DailyContentService.kt +++ b/application/src/main/kotlin/com/pokit/content/port/service/DailyContentService.kt @@ -13,6 +13,7 @@ class DailyContentService( ) : DailyContentUseCase { companion object { private const val MIN_CONTENT_COUNT = 5 + private const val RANDOM_CONTENT_COUNT = 3 } @Transactional @@ -34,7 +35,7 @@ class DailyContentService( return emptyList() } - return ids.shuffled().take(MIN_CONTENT_COUNT) + return ids.shuffled().take(RANDOM_CONTENT_COUNT) } }