瀏覽代碼

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();