remove thumbnail cache

This commit is contained in:
austinried
2022-03-22 14:06:30 +09:00
parent 2069115df5
commit e0db4931f1
6 changed files with 32 additions and 34 deletions

View File

@@ -23,7 +23,7 @@ import {
SubsonicResponse,
} from '@app/subsonic/responses'
import PromiseQueue from '@app/util/PromiseQueue'
import { reduceById, mergeById } from '@app/util/state'
import { reduceById, mergeById, mapId } from '@app/util/state'
import produce from 'immer'
import { WritableDraft } from 'immer/dist/types/types-external'
import pick from 'lodash.pick'
@@ -547,7 +547,3 @@ function mapSong(song: ChildElement): Song {
starred: song.starred,
}
}
function mapId(entities: { id: string }[]): string[] {
return entities.map(e => e.id)
}