ソースを参照

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);
 						});