fixed error when an album doesn't have a description

This commit is contained in:
Maksym 2025-06-18 01:51:40 +02:00
parent 1a1ee12001
commit 9073e75784

View File

@ -59,7 +59,7 @@ export default class AlbumInfoParser {
url,
numTracks: basic.numTracks,
keywords: basic.keywords,
description: basic.description.replaceAll('\r\n', '\n') || '',
description: (basic.description ?? '').replaceAll('\r\n', '\n') || '',
releaseDate: extra.album_release_date,
artist,
releases: [],