fix missing normalization

This commit is contained in:
Thomas Amland 2020-07-31 18:52:54 +02:00
parent 4b2c3e778a
commit 17c0c8317f

View File

@ -193,7 +193,7 @@ export class API {
async getStarred() { async getStarred() {
const [tracks, albums] = await Promise.all([ const [tracks, albums] = await Promise.all([
this.get("rest/getStarred2").then(r => r.starred2.song), this.get("rest/getStarred2").then(r => this.normalizeTrackList(r.starred2.song)),
this.get("rest/getAlbumList2", { type: 'starred' }).then(r => r.albumList2), this.get("rest/getAlbumList2", { type: 'starred' }).then(r => r.albumList2),
this.get("rest/getAlbumList2", { type: 'starred' }).then(r => r.albumList2), this.get("rest/getAlbumList2", { type: 'starred' }).then(r => r.albumList2),
]); ]);