Browse Source

fix: Removed leftover code from cherrypick from actions/songs.js

Owen Diffey 3 years ago
parent
commit
716bd0fbfa
1 changed files with 0 additions and 12 deletions
  1. 0 12
      backend/logic/actions/songs.js

+ 0 - 12
backend/logic/actions/songs.js

@@ -568,12 +568,6 @@ export default {
 							.catch(() => {});
 					});
 
-					song.artists.forEach(artist => {
-						PlaylistsModule.runJob("AUTOFILL_ARTIST_PLAYLIST", { artist })
-							.then(() => {})
-							.catch(() => {});
-					});
-
 					SongsModule.runJob("UPDATE_SONG", { songId: song._id, oldStatus });
 					next(null, song, oldStatus);
 				}
@@ -630,12 +624,6 @@ export default {
 							.catch(() => {});
 					});
 
-					song.artists.forEach(artist => {
-						PlaylistsModule.runJob("AUTOFILL_ARTIST_PLAYLIST", { artist })
-							.then(() => {})
-							.catch(() => {});
-					});
-
 					SongsModule.runJob("UPDATE_SONG", { songId, oldStatus: "verified" });
 
 					next(null);