Skip to content

Commit d5d2543

Browse files
committed
そおっとソートをなおそおっと
1 parent 7621785 commit d5d2543

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/api/endpoints/notes/featured.ts

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export default define(meta, async (ps, user) => {
123123
const notes = await Note.find(query, {
124124
limit: ps.limit,
125125
skip: ps.offset,
126+
sort: { _id: -1 }
126127
});
127128

128129
return await packMany(notes, user);

0 commit comments

Comments
 (0)