From 86342538aa777654e7c22c7f3e5f898cd00ef074 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Sun, 24 Jul 2022 21:13:43 +0200 Subject: [PATCH] pack children without detail --- packages/backend/src/server/api/endpoints/notes/children.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/notes/children.ts b/packages/backend/src/server/api/endpoints/notes/children.ts index 5e57e28367..4412972c33 100644 --- a/packages/backend/src/server/api/endpoints/notes/children.ts +++ b/packages/backend/src/server/api/endpoints/notes/children.ts @@ -60,5 +60,5 @@ export default define(meta, paramDef, async (ps, user) => { const notes = await query.take(ps.limit).getMany(); - return await Notes.packMany(notes, user); + return await Notes.packMany(notes, user, { detail: false }); });