Workaround the fact that uptimerobot doesn't return the dailyRatio anymore

This commit is contained in:
TheFrenchGhosty 2024-01-30 23:20:15 +01:00
parent 029859082e
commit 4e574892ec
No known key found for this signature in database
GPG Key ID: 4E616F0FFE25B75B
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
return {
name: entry[0],
details: entry[1],
health: +(healthKnown ? entry[1].monitor.dailyRatios[0].ratio : 95),
health: 100,
healthKnown
}
}).filter(entry => {