mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
feat: updates
This commit is contained in:
parent
fb21405bf9
commit
1b05297885
46 changed files with 234 additions and 114 deletions
|
|
@ -35,6 +35,7 @@ export async function setCache(api: string, data: any, query: any) {
|
|||
}
|
||||
case 'album': {
|
||||
if (!data.album) return
|
||||
data.album.songs = (data as FetchTracksResponse).songs
|
||||
db.set(ModelNames.ALBUM, Number(data.album.id), data)
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue