diff --git a/src/lecture/services/popular-lecture.service.ts b/src/lecture/services/popular-lecture.service.ts index 86a0882..8c3cb86 100644 --- a/src/lecture/services/popular-lecture.service.ts +++ b/src/lecture/services/popular-lecture.service.ts @@ -46,11 +46,11 @@ export class PopularLectureService { const sortedPopularScores = this.sortPopularScores(popularScores); - const topFivePopularScores = sortedPopularScores.slice(0, 5); + const toEightPopularScores = sortedPopularScores.slice(0, 8); const popularLectures = []; - for (const popularLecture of topFivePopularScores) { + for (const popularLecture of toEightPopularScores) { const lecture = await this.popularLectureRepository.trxReadLectureWithUserId( trasaction,