From dee3a4d44ddb1999e7dec383889246e87f202d92 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 6 Jul 2025 21:50:23 +0000 Subject: feat: Store large html content in the asset db --- apps/workers/workerUtils.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/workers/workerUtils.ts') diff --git a/apps/workers/workerUtils.ts b/apps/workers/workerUtils.ts index d41df578..3eaf5b4b 100644 --- a/apps/workers/workerUtils.ts +++ b/apps/workers/workerUtils.ts @@ -46,5 +46,8 @@ export async function getBookmarkDetails(bookmarkId: string) { precrawledArchiveAssetId: bookmark.assets .filter((a) => a.assetType == AssetTypes.LINK_PRECRAWLED_ARCHIVE) .at(-1)?.id, + contentAssetId: bookmark.assets.find( + (a) => a.assetType == AssetTypes.LINK_HTML_CONTENT, + )?.id, }; } -- cgit v1.2.3-70-g09d2