This commit is contained in:
Louis Lam 2024-10-11 17:10:29 +08:00
parent 7562212483
commit 776f4f2d5f
1 changed files with 0 additions and 4 deletions

View File

@ -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();
}