Merge pull request #34 from iv-org/fix

Workaround the fact that uptimerobot doesn't return the dailyRatio anymore
This commit is contained in:
TheFrenchGhosty 2024-01-30 22:22:18 +00:00 committed by GitHub
commit 51d69784ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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