Fixed property name for check
This commit is contained in:
1 parent
0598a08f34
commit
9c59330cb0
1 file changed
+1
-1
@@ -39,7 +39,7 @@ class JobQueue {
|
|||||||
queue.networkService = networkService;
|
queue.networkService = networkService;
|
||||||
const monitors = await db.getAllMonitors();
|
const monitors = await db.getAllMonitors();
|
||||||
for (const monitor of monitors) {
|
for (const monitor of monitors) {
|
||||||
if (monitor.active) {
|
if (monitor.isActive) {
|
||||||
await queue.addJob(monitor.id, monitor);
|
await queue.addJob(monitor.id, monitor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user