From 776f4f2d5ffe9f04e399e5eadb79544971cc030a Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 11 Oct 2024 17:10:29 +0800 Subject: [PATCH] wip --- server/uptime-calculator.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/uptime-calculator.js b/server/uptime-calculator.js index 43f6b5a56..5b27fe6fb 100644 --- a/server/uptime-calculator.js +++ b/server/uptime-calculator.js @@ -199,10 +199,6 @@ class UptimeCalculator { * @throws {Error} Invalid status */ async update(status, ping = 0, date) { - if (!this.monitorID) { - throw new Error("Monitor ID is required"); - } - if (!date) { date = this.getCurrentDate(); }