diff --git a/server/server.js b/server/server.js index 841e7417..1ac24f1c 100644 --- a/server/server.js +++ b/server/server.js @@ -1409,7 +1409,7 @@ let needSetup = false; await updateMonitorNotification(bean.id, notificationIDList); // 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); } else { await pauseMonitor(socket.userID, bean.id);