diff options
| author | Mohamed Bassem <me@mbassem.com> | 2026-01-01 07:57:24 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2026-01-01 08:22:04 +0000 |
| commit | 79400d0497e983a655f19867c9faf1ba7e6af150 (patch) | |
| tree | 03d2e0d972313964d4c61538a538d4ecdb3211c8 /packages | |
| parent | e8c79f2944c021b86c068ea77ff937650cd291d7 (diff) | |
| download | karakeep-79400d0497e983a655f19867c9faf1ba7e6af150.tar.zst | |
fix: don't switch the bookmark back to pending on recrawl
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/trpc/routers/bookmarks.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/trpc/routers/bookmarks.ts b/packages/trpc/routers/bookmarks.ts index fb9b4697..b28e7bf7 100644 --- a/packages/trpc/routers/bookmarks.ts +++ b/packages/trpc/routers/bookmarks.ts @@ -567,13 +567,6 @@ export const bookmarksAppRouter = router({ ) .use(ensureBookmarkOwnership) .mutation(async ({ input, ctx }) => { - await ctx.db - .update(bookmarkLinks) - .set({ - crawlStatus: "pending", - crawlStatusCode: null, - }) - .where(eq(bookmarkLinks.id, input.bookmarkId)); await LinkCrawlerQueue.enqueue( { bookmarkId: input.bookmarkId, |
