瀏覽代碼

Fixed small issue with tasks.

KrisVos130 8 年之前
父節點
當前提交
c7e046d1de
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();
 				}
 			}, () => {