diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-12-14 14:25:29 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-12-14 14:26:07 +0000 |
| commit | d7357118b3f60e4bcce0e5f76629fb6d32acd311 (patch) | |
| tree | f5061b07212ef62c926475e5f512bc57d1180fb7 /packages/trpc | |
| parent | 0b65e5a4286f662c6c658ea9b1d5acb13e7e65b9 (diff) | |
| download | karakeep-d7357118b3f60e4bcce0e5f76629fb6d32acd311.tar.zst | |
fix: non-link bookmarks where stuck in pending summarization. Fixes #1605
Diffstat (limited to 'packages/trpc')
| -rw-r--r-- | packages/trpc/routers/bookmarks.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/trpc/routers/bookmarks.ts b/packages/trpc/routers/bookmarks.ts index 15ded2bd..509aa1d2 100644 --- a/packages/trpc/routers/bookmarks.ts +++ b/packages/trpc/routers/bookmarks.ts @@ -158,6 +158,9 @@ export const bookmarksAppRouter = router({ summary: input.summary, createdAt: input.createdAt, source: input.source, + // Only links currently support summarization. Let's set the status to null for other types for now. + summarizationStatus: + input.type === BookmarkTypes.LINK ? "pending" : null, }) .returning() )[0]; |
