From bf472d49a01ff95fb04a5abcc140f680bd15312a Mon Sep 17 00:00:00 2001 From: Emilien Devos <4016501+unixfox@users.noreply.github.com> Date: Wed, 31 Jan 2024 00:34:54 +0100 Subject: [PATCH] Revert "Workaround the fact that uptimerobot doesn't return the dailyRatio anymore" This reverts commit 4e574892ec9482fc71a35ee69ccf88764f9026af. --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 182ea52..8860c25 100644 --- a/src/main.js +++ b/src/main.js @@ -52,7 +52,7 @@ return { name: entry[0], details: entry[1], - health: 100, + health: +(healthKnown ? entry[1].monitor.dailyRatios[0].ratio : 95), healthKnown } }).filter(entry => {