wip
This commit is contained in:
parent
7562212483
commit
776f4f2d5f
|
@ -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 New Issue