mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-16 16:36:56 +08:00
wip
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user