fix(torrents): fixed rss issue

This commit is contained in:
OldHawk
2018-06-26 12:57:33 +08:00
parent 4cc1cf11af
commit 1f80a0755f

View File

@@ -2032,7 +2032,7 @@ exports.makeRss = function (req, res) {
limit = parseInt(req.query.limit, 10);
}
Favorite.find({
user: req.user._id
user: req.passkeyuser._id
}, 'torrent')
.sort('-createdAt')
.populate({