fix: sort in /ps/trophy
This commit is contained in:
@@ -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 奖杯`,
|
||||
|
||||
Reference in New Issue
Block a user