From 17c0c8317fc88ad7353cf4d38662190bede6af8f Mon Sep 17 00:00:00 2001 From: Thomas Amland Date: Fri, 31 Jul 2020 18:52:54 +0200 Subject: [PATCH] fix missing normalization --- src/shared/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/api.ts b/src/shared/api.ts index 748a71a..c4bbc97 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -193,7 +193,7 @@ export class API { async getStarred() { 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), ]);