diff options
Diffstat (limited to 'packages/trpc/routers')
| -rw-r--r-- | packages/trpc/routers/bookmarks.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/trpc/routers/bookmarks.ts b/packages/trpc/routers/bookmarks.ts index a02fb691..9a1b6b0b 100644 --- a/packages/trpc/routers/bookmarks.ts +++ b/packages/trpc/routers/bookmarks.ts @@ -761,9 +761,7 @@ export const bookmarksAppRouter = router({ results.sort((a, b) => idToRank[b.id] - idToRank[a.id]); return { - bookmarks: results.map((b) => - toZodSchema(b, /* includeContent: */ false), - ), + bookmarks: results.map((b) => toZodSchema(b, input.includeContent)), nextCursor: resp.hits.length + resp.offset >= resp.estimatedTotalHits ? null |
