Merge pull request #811 from bluewave-labs/fix/active-monitor-cehck
Fixed property name for check
This commit is contained in:
1 file changed
+1
-1
@@ -39,7 +39,7 @@ class JobQueue {
|
||||
queue.networkService = networkService;
|
||||
const monitors = await db.getAllMonitors();
|
||||
for (const monitor of monitors) {
|
||||
if (monitor.active) {
|
||||
if (monitor.isActive) {
|
||||
await queue.addJob(monitor.id, monitor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user