mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
@@ -121,7 +121,7 @@ export default class CronService {
|
||||
return new Promise((resolve) => {
|
||||
this.cronDb
|
||||
.find(query)
|
||||
.sort({ created: 1 })
|
||||
.sort({ created: -1 })
|
||||
.exec((err, docs) => {
|
||||
resolve(docs);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user