Explorar o código

fix: Minor eslint issue

Owen Diffey %!s(int64=3) %!d(string=hai) anos
pai
achega
3e952a51be
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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();