Explorar o código

Fixed issue with updated async.doUntil function

Kristian Vos %!s(int64=5) %!d(string=hai) anos
pai
achega
5d4e25b720
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);
 						});