From 81e0b2849d837649da9adbc5d077b8c819fe7bee Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Mon, 15 Apr 2024 18:39:59 +0100 Subject: feature: Add title to bookmarks and allow editing them. Fixes #27 --- packages/trpc/routers/bookmarks.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/trpc/routers') diff --git a/packages/trpc/routers/bookmarks.ts b/packages/trpc/routers/bookmarks.ts index 65037f6b..a447235b 100644 --- a/packages/trpc/routers/bookmarks.ts +++ b/packages/trpc/routers/bookmarks.ts @@ -231,6 +231,7 @@ export const bookmarksAppRouter = router({ const res = await ctx.db .update(bookmarks) .set({ + title: input.title, archived: input.archived, favourited: input.favourited, note: input.note, -- cgit v1.2.3-70-g09d2