diff --git a/packages/backend/src/server/api/endpoints/clips/notes.ts b/packages/backend/src/server/api/endpoints/clips/notes.ts index 1e8043fe18..921e72ccc0 100644 --- a/packages/backend/src/server/api/endpoints/clips/notes.ts +++ b/packages/backend/src/server/api/endpoints/clips/notes.ts @@ -155,7 +155,7 @@ export default define(meta, paramDef, async (ps, user) => { .execute(prepared.note.select.byIds, [noteIds], { prepare: true }) .then((result) => result.rows.map(parseScyllaNote)); - return Notes.packMany((await filter(foundNotes)).slice(0, ps.limit), user); + return (await Notes.packMany((await filter(foundNotes)), user)).slice(0, ps.limit); } const query = makePaginationQuery(