mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-29 14:38:52 +03:00
fix: use active instead of isActive in uploadBackup
This commit is contained in:
parent
2c581ade90
commit
9446c2d102
1 changed files with 1 additions and 1 deletions
|
@ -1409,7 +1409,7 @@ let needSetup = false;
|
||||||
await updateMonitorNotification(bean.id, notificationIDList);
|
await updateMonitorNotification(bean.id, notificationIDList);
|
||||||
|
|
||||||
// If monitor was active start it immediately, otherwise pause it
|
// If monitor was active start it immediately, otherwise pause it
|
||||||
if (monitorListData[i].isActive === 1) {
|
if (monitorListData[i].active === 1) {
|
||||||
await startMonitor(socket.userID, bean.id);
|
await startMonitor(socket.userID, bean.id);
|
||||||
} else {
|
} else {
|
||||||
await pauseMonitor(socket.userID, bean.id);
|
await pauseMonitor(socket.userID, bean.id);
|
||||||
|
|
Loading…
Reference in a new issue