Skip to content

Commit

Permalink
Feat(#522): 인기 강사 강의 상위 5개 노출
Browse files Browse the repository at this point in the history
  • Loading branch information
j-zzi committed Jun 6, 2024
1 parent 6b44111 commit 7c39c50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lecture/services/popular-lecture.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];

Expand Down
2 changes: 1 addition & 1 deletion src/lecturer/services/popular-lecturer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7c39c50

Please sign in to comment.