No longer fetch entities for playlists when getting the list. (#161)

This commit is contained in:
dhalem
2023-04-27 02:34:59 -07:00
committed by GitHub
parent f6fc7ab920
commit a9d88bd9eb
2 changed files with 11 additions and 6 deletions

View File

@@ -871,8 +871,13 @@ function bindSmapiSoapServiceToExpress(
.playlists()
.then((it) =>
Promise.all(
it.map((playlist) =>
musicLibrary.playlist(playlist.id)
it.map((playlist) => {
return {
id: playlist.id,
name: playlist.name,
entries: []
};
}
)
)
)