mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-20 16:50:33 -05:00
maor logging
This commit is contained in:
@@ -89,10 +89,13 @@ export function fetchFavoritePlaylists(): Promise<BaseItemDto[]> {
|
||||
]
|
||||
})
|
||||
.then((response) => {
|
||||
|
||||
console.log(response);
|
||||
|
||||
if (response.data.Items)
|
||||
resolve(response.data.Items.filter(item =>
|
||||
item.UserData?.IsFavorite ||
|
||||
item.Path?.includes("/config/data/playlists")
|
||||
item.Path?.includes("/data/playlists")
|
||||
))
|
||||
else
|
||||
resolve([])
|
||||
|
||||
Reference in New Issue
Block a user