소스 검색

Fixed issue with updated async.doUntil function

Kristian Vos 5 년 전
부모
커밋
5d4e25b720
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      backend/logic/stations.js

+ 2 - 2
backend/logic/stations.js

@@ -378,8 +378,8 @@ module.exports = {
 									});
 								});
 							}
-						}, (song) => {
-							return !!song;
+						}, (song, currentSongIndex, next) => {
+							return next(!!song);
 						}, (err, song, currentSongIndex) => {
 							return next(err, song, currentSongIndex, station);
 						});