mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Fixed Spotify Class issue
This commit is contained in:
@@ -236,7 +236,7 @@ export class SpotifyPlaylist {
|
|||||||
this.tracksCount = Number(data.tracks.total);
|
this.tracksCount = Number(data.tracks.total);
|
||||||
const videos: SpotifyTrack[] = [];
|
const videos: SpotifyTrack[] = [];
|
||||||
data.tracks.items.forEach((v: any) => {
|
data.tracks.items.forEach((v: any) => {
|
||||||
videos.push(new SpotifyTrack(v.track));
|
if(v) videos.push(new SpotifyTrack(v.track));
|
||||||
});
|
});
|
||||||
this.fetched_tracks = new Map();
|
this.fetched_tracks = new Map();
|
||||||
this.fetched_tracks.set('1', videos);
|
this.fetched_tracks.set('1', videos);
|
||||||
|
|||||||
Reference in New Issue
Block a user