From 5bdb2d944a08f63772497e203f47533ffb640d82 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 13 Apr 2025 18:29:14 +0000 Subject: fix: Dont download html content by default in the bookmark grid. Fixes #1198 --- apps/web/app/api/v1/bookmarks/route.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/web/app/api/v1/bookmarks/route.ts') diff --git a/apps/web/app/api/v1/bookmarks/route.ts b/apps/web/app/api/v1/bookmarks/route.ts index 7b6954c6..1605d2b5 100644 --- a/apps/web/app/api/v1/bookmarks/route.ts +++ b/apps/web/app/api/v1/bookmarks/route.ts @@ -16,6 +16,8 @@ export const GET = (req: NextRequest) => .object({ favourited: zStringBool.optional(), archived: zStringBool.optional(), + // TODO: Change the default to false in a couple of releases. + includeContent: zStringBool.optional().default("true"), }) .and(zPagination), handler: async ({ api, searchParams }) => { -- cgit v1.2.3-70-g09d2