Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam committed Oct 11, 2024
1 parent 7562212 commit 776f4f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/uptime-calculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 776f4f2

Please sign in to comment.