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;
});
if(typeof this.data.next == "function") {
this.data.next().then(data => next);
this.data.next().then(data => nextFn(data));
}else{
this.api.v3.music(this.data.next).then(data => nextFn);
this.api.v3.music(this.data.next).then(data => nextFn(data));
}
}else{
console.log("No next page");