A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix: don't switch the bookmark back to pending on recrawl
Mohamed Bassem79400d0497e9
diff --git a/packages/trpc/routers/bookmarks.ts b/packages/trpc/routers/bookmarks.tsindex 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,