mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
1 parent
4958d700de
commit
91e4905a3f
9 files changed
+69
-11
No files matched your search
@@ -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