fix crash

This commit is contained in:
Vito0912 2025-03-04 18:06:58 +01:00
parent c6b5d4aa26
commit a296ac6132
No known key found for this signature in database
GPG Key ID: 29A3D509FE70B237

View File

@ -78,7 +78,7 @@ class CustomProviderAdapter {
narrator,
publisher,
publishedYear,
description: htmlSanitizer.sanitize(description),
description: typeof description === 'string' ? htmlSanitizer.sanitize(description) : description,
cover,
isbn,
asin,