diff --git a/src/lecture/services/popular-lecture.service.ts b/src/lecture/services/popular-lecture.service.ts index 86a0882..79804dc 100644 --- a/src/lecture/services/popular-lecture.service.ts +++ b/src/lecture/services/popular-lecture.service.ts @@ -46,7 +46,7 @@ export class PopularLectureService { const sortedPopularScores = this.sortPopularScores(popularScores); - const topFivePopularScores = sortedPopularScores.slice(0, 5); + const topFivePopularScores = sortedPopularScores.slice(0, 6); const popularLectures = []; diff --git a/src/lecturer/services/popular-lecturer.service.ts b/src/lecturer/services/popular-lecturer.service.ts index 2e45a5a..a264663 100644 --- a/src/lecturer/services/popular-lecturer.service.ts +++ b/src/lecturer/services/popular-lecturer.service.ts @@ -54,7 +54,7 @@ export class PopularLecturerService { } }); - const topFivePopularScores = popularScores.slice(0, 8); + const topFivePopularScores = popularScores.slice(0, 6); const popularLecturers = []; for (const popularLecturer of topFivePopularScores) {