Selaa lähdekoodia

Commented out some code that was causing issues, will fix later

Kristian Vos 4 vuotta sitten
vanhempi
commit
64e616a90a
1 muutettua tiedostoa jossa 13 lisäystä ja 13 poistoa
  1. 13 13
      backend/logic/playlists.js

+ 13 - 13
backend/logic/playlists.js

@@ -105,19 +105,19 @@ class _PlaylistsModule extends CoreClass {
 					} else {
 						resolve();
 
-						PlaylistsModule.runJob("CREATE_MISSING_GENRE_PLAYLISTS", {})
-							.then()
-							.catch()
-							.finally(() => {
-								SongsModule.runJob("GET_ALL_GENRES", {})
-									.then(response => {
-										const { genres } = response;
-										genres.forEach(genre => {
-											PlaylistsModule.runJob("AUTOFILL_GENRE_PLAYLIST", { genre }).then().catch();
-										});
-									})
-									.catch();
-							});
+						// PlaylistsModule.runJob("CREATE_MISSING_GENRE_PLAYLISTS", {})
+						// 	.then()
+						// 	.catch()
+						// 	.finally(() => {
+						// 		SongsModule.runJob("GET_ALL_GENRES", {})
+						// 			.then(response => {
+						// 				const { genres } = response;
+						// 				genres.forEach(genre => {
+						// 					PlaylistsModule.runJob("AUTOFILL_GENRE_PLAYLIST", { genre }).then().catch();
+						// 				});
+						// 			})
+						// 			.catch();
+						// 	});
 					}
 				}
 			)