We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73f90e2 commit 4b7b569Copy full SHA for 4b7b569
src/jobs/sirene/index.js
@@ -14,7 +14,7 @@ async function getLastExecutionDate() {
14
// repeatInterval: { $exists: true },
15
};
16
17
- const jobs = db
+ const jobs = await db
18
.collection("_jobs")
19
.find(filters)
20
.sort({ "result.lastExecution": -1 })
0 commit comments