mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-22 09:26:05 +03:00
Fix: Missing await for isActive (#3717)
This commit is contained in:
parent
1f29fabe64
commit
0af4ee6c34
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ let needSetup = false;
|
|||
|
||||
await updateMonitorNotification(bean.id, monitor.notificationIDList);
|
||||
|
||||
if (bean.isActive()) {
|
||||
if (await bean.isActive()) {
|
||||
await restartMonitor(socket.userID, bean.id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue