Browse Source

Fixed small issue with tasks.

KrisVos130 8 năm trước cách đây
mục cha
commit
c7e046d1de
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
 				}
 			}, () => {