diff --git a/lib/routes/ps/trophy.js b/lib/routes/ps/trophy.js index 05d419e99..f0af52d90 100644 --- a/lib/routes/ps/trophy.js +++ b/lib/routes/ps/trophy.js @@ -104,7 +104,7 @@ module.exports = async (ctx) => { items.forEach((item) => { result = result.concat(item); }); - items.sort((a, b) => new Date(a.pubDate) - new Date(b.pubDate)); + result = result.sort((a, b) => new Date(a.pubDate) - new Date(b.pubDate)); ctx.state.data = { title: `${id} 的 PSN 奖杯`,