mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-11-07 08:06:12 +08:00
Drop the property monitor.maintenance, use lastHeartBeat.status to check status instead
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user