Skip to content

Commit

Permalink
Merge pull request #34 from iv-org/fix
Browse files Browse the repository at this point in the history
Workaround the fact that uptimerobot doesn't return the dailyRatio anymore
  • Loading branch information
TheFrenchGhosty authored Jan 30, 2024
2 parents 0298590 + 4e57489 commit 51d6978
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 51d6978

Please sign in to comment.