mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
wip
This commit is contained in:
parent
7562212483
commit
776f4f2d5f
1 changed files with 0 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue