Merge pull request #36 from iv-org/updown

Update to use the new layout from api
This commit is contained in:
TheFrenchGhosty 2024-04-22 20:58:43 +02:00 committed by GitHub
commit d5e4d97f4f
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["30dRatio"].ratio : 95),
health: +(healthKnown ? entry[1].monitor.uptime : 95),
healthKnown
}
}).filter(entry => {