Fix: Missing await for isActive (#3717)

This commit is contained in:
Nelson Chan 2023-09-10 01:54:03 +08:00 committed by GitHub
parent 1f29fabe64
commit 0af4ee6c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -796,7 +796,7 @@ let needSetup = false;
await updateMonitorNotification(bean.id, monitor.notificationIDList); await updateMonitorNotification(bean.id, monitor.notificationIDList);
if (bean.isActive()) { if (await bean.isActive()) {
await restartMonitor(socket.userID, bean.id); await restartMonitor(socket.userID, bean.id);
} }