mirror of
https://github.com/BradNut/graphbrainz
synced 2025-09-08 17:40:32 +00:00
Fix for missing albums property on fanart.tv artists
This commit is contained in:
parent
505b679376
commit
3ed5ba12d7
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ export default function createLoader(options) {
|
|||
})
|
||||
.then(body => {
|
||||
if (entityType === 'artist') {
|
||||
const releaseGroupIDs = Object.keys(body.albums)
|
||||
const releaseGroupIDs = Object.keys(body.albums || {})
|
||||
debug(
|
||||
`Priming album cache with ${releaseGroupIDs.length} album(s).`
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue