fix(plugins/anilist): handle null description (#1020)
This commit is contained in:
@@ -143,7 +143,7 @@ async function format({media, imports}) {
|
|||||||
release,
|
release,
|
||||||
genres,
|
genres,
|
||||||
progress,
|
progress,
|
||||||
description: description.replace(/<br\s*\\?>/g, " "),
|
description: description?.replace(/<br\s*\\?>/g, " ") ?? "",
|
||||||
scores: {user: userScore, community: averageScore},
|
scores: {user: userScore, community: averageScore},
|
||||||
released: type === "ANIME" ? episodes : chapters,
|
released: type === "ANIME" ? episodes : chapters,
|
||||||
artwork: await imports.imgb64(artwork),
|
artwork: await imports.imgb64(artwork),
|
||||||
|
|||||||
Reference in New Issue
Block a user