fix: order by
This commit is contained in:
parent
e25d0603d6
commit
97d128aa5c
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ export default define(meta, paramDef, async (ps, user) => {
|
|||
|
||||
const noteIds = await ClipNotes.find({
|
||||
where: whereOpt,
|
||||
order: { id: "DESC" },
|
||||
order: { noteId: "DESC" },
|
||||
take: ps.limit * 5,
|
||||
}).then((clips) => clips.map(({ noteId }) => noteId));
|
||||
|
||||
|
|
Loading…
Reference in a new issue