fix for collections not pulling next

This commit is contained in:
booploops 2021-12-28 13:06:34 -08:00
parent a5d31ff2f9
commit b335edfbed

View file

@ -81,9 +81,9 @@
this.triggerEnabled = true; this.triggerEnabled = true;
}); });
if(typeof this.data.next == "function") { if(typeof this.data.next == "function") {
this.data.next().then(data => next); this.data.next().then(data => nextFn(data));
}else{ }else{
this.api.v3.music(this.data.next).then(data => nextFn); this.api.v3.music(this.data.next).then(data => nextFn(data));
} }
}else{ }else{
console.log("No next page"); console.log("No next page");