소스 검색

fix: Minor eslint issue

Owen Diffey 3 년 전
부모
커밋
3e952a51be
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      backend/logic/songs.js

+ 0 - 3
backend/logic/songs.js

@@ -768,13 +768,10 @@ class _SongsModule extends CoreClass {
 					},
 
 					(songs, next) => {
-						let index = 0;
-						const { length } = songs;
 						async.eachLimit(
 							songs,
 							2,
 							(song, next) => {
-								index += 1;
 								SongsModule.runJob("RECALCULATE_SONG_RATINGS", { songId: song._id }, this)
 									.then(() => {
 										next();