Skip to content

Commit

Permalink
Workaround the fact that uptimerobot doesn't return the dailyRatio an…
Browse files Browse the repository at this point in the history
…ymore
  • Loading branch information
TheFrenchGhosty committed Jan 30, 2024
1 parent 0298590 commit 4e57489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 4e57489

Please sign in to comment.