fix: normalize character status text to lowercase for consistency
All checks were successful
Build Docker Image / build (push) Successful in 1m22s

This commit is contained in:
2026-03-16 21:17:01 +01:00
parent 94393851c8
commit 5020393b22

View File

@@ -804,11 +804,11 @@ function extractStatus($: cheerio.CheerioAPI): string | null {
const statusText = div.text().trim().toLowerCase();
if (statusText.includes('Alive')) {
if (statusText.includes('alive')) {
return 'Alive';
} else if (statusText.includes('Dead')) {
} else if (statusText.includes('deceased')) {
return 'Dead';
} else if (statusText.includes('Unknown')) {
} else if (statusText.includes('unknown')) {
return 'Unknown';
}