reorg to domain and api
This commit is contained in:
1 parent
0fb210e9e1
commit
d022f7d849
190 files changed
+643
-830
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import Monitor from "@/db/models/Monitor.js";
|
||||
import Monitor from "@/domain/monitors/monitor.model.js";
|
||||
async function migrateStatusWindowThreshold() {
|
||||
const monitors = await Monitor.find({ statusWindowThreshold: { $lt: 1 } });
|
||||
for (const monitor of monitors) {
|
||||
|
||||
Reference in new issue
Block a user