aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/routers
diff options
context:
space:
mode:
Diffstat (limited to 'packages/trpc/routers')
-rw-r--r--packages/trpc/routers/bookmarks.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/trpc/routers/bookmarks.ts b/packages/trpc/routers/bookmarks.ts
index 3a49c7fa..bcf200a3 100644
--- a/packages/trpc/routers/bookmarks.ts
+++ b/packages/trpc/routers/bookmarks.ts
@@ -229,6 +229,7 @@ export const bookmarksAppRouter = router({
.set({
archived: input.archived,
favourited: input.favourited,
+ note: input.note,
})
.where(
and(
@@ -243,6 +244,10 @@ export const bookmarksAppRouter = router({
message: "Bookmark not found",
});
}
+ SearchIndexingQueue.add("search_indexing", {
+ bookmarkId: input.bookmarkId,
+ type: "index",
+ });
return res[0];
}),