Skip to content

Commit 23ff51f

Browse files
committed
chore(): code cleanup
1 parent 3c652e8 commit 23ff51f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

server/crons/rssFeed.cron.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@ function encode(text) {
8080
}
8181

8282
async function callback() {
83-
// const posts = await Post
84-
// .find({
85-
// status: 'publish',
86-
// mp3: { $exists: true },
87-
// })
88-
// .sort({ date: -1 })
89-
// .lean();
90-
9183
const posts = await Post.find().where('status').equals('publish').lean();
9284

9385
// mongoose sort is slower

0 commit comments

Comments
 (0)