Skip to content

Commit 4b7b569

Browse files
committed
fix dates query
1 parent 73f90e2 commit 4b7b569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jobs/sirene/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async function getLastExecutionDate() {
1414
// repeatInterval: { $exists: true },
1515
};
1616

17-
const jobs = db
17+
const jobs = await db
1818
.collection("_jobs")
1919
.find(filters)
2020
.sort({ "result.lastExecution": -1 })

0 commit comments

Comments
 (0)