Drop the property monitor.maintenance, use lastHeartBeat.status to check status instead

This commit is contained in:
Louis Lam 2023-01-17 17:34:47 +08:00
parent 7bb12a7e00
commit a5ff27da7a
3 changed files with 15 additions and 15 deletions

View file

@ -36,7 +36,6 @@ class Monitor extends BeanModel {
id: this.id,
name: this.name,
sendUrl: this.sendUrl,
maintenance: await Monitor.isUnderMaintenance(this.id),
};
if (this.sendUrl) {