Sfoglia il codice sorgente

Fixed small issue with tasks.

KrisVos130 8 anni fa
parent
commit
c7e046d1de
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      backend/logic/tasks.js

+ 1 - 1
backend/logic/tasks.js

@@ -29,7 +29,7 @@ let checkStationSkipTask = (callback) => {
 				if (timeElapsed <= station.currentSong.duration) return next2();
 				else {
 					logger.error("TASK_STATIONS_SKIP_CHECK", `Skipping ${station._id} as it should have skipped already.`);
-					stations.skipStation(station._id);
+					Stations.skipStation(station._id);
 					next2();
 				}
 			}, () => {