Browse Source

Fixed issue with updated async.doUntil function

Kristian Vos 5 years ago
parent
commit
5d4e25b720
1 changed files with 2 additions and 2 deletions
  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);
 						});