Skip to content

Commit

Permalink
Refactor(#529): 기능 분리 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
j-zzi committed Jun 18, 2024
1 parent 807bbf3 commit f00c8ef
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -42,7 +42,7 @@ export class PopularLecturerService {

const sortedPopularScores = this.sortPopularScores(popularScores);

const topTenPopularScores = popularScores.slice(0, 10);
const topTenPopularScores = sortedPopularScores.slice(0, 10);
const popularLecturers = [];

for (const popularLecturer of topTenPopularScores) {
Expand Down

0 comments on commit f00c8ef

Please sign in to comment.