fixed error when an album doesn't have a description
This commit is contained in:
parent
1a1ee12001
commit
9073e75784
|
@ -59,7 +59,7 @@ export default class AlbumInfoParser {
|
||||||
url,
|
url,
|
||||||
numTracks: basic.numTracks,
|
numTracks: basic.numTracks,
|
||||||
keywords: basic.keywords,
|
keywords: basic.keywords,
|
||||||
description: basic.description.replaceAll('\r\n', '\n') || '',
|
description: (basic.description ?? '').replaceAll('\r\n', '\n') || '',
|
||||||
releaseDate: extra.album_release_date,
|
releaseDate: extra.album_release_date,
|
||||||
artist,
|
artist,
|
||||||
releases: [],
|
releases: [],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user