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

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 => {