From 79400d0497e983a655f19867c9faf1ba7e6af150 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Thu, 1 Jan 2026 07:57:24 +0000 Subject: fix: don't switch the bookmark back to pending on recrawl --- packages/trpc/routers/bookmarks.ts | 7 ------- 1 file changed, 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, -- cgit v1.2.3-70-g09d2