From 4f17ea61cbb11a72712a1ea8c98904a1cc513e41 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 14 Apr 2024 00:51:56 +0300 Subject: feature(web): Allow changing the bookmark grid layout (#98) --- packages/trpc/routers/bookmarks.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/trpc/routers') diff --git a/packages/trpc/routers/bookmarks.ts b/packages/trpc/routers/bookmarks.ts index 66766205..65037f6b 100644 --- a/packages/trpc/routers/bookmarks.ts +++ b/packages/trpc/routers/bookmarks.ts @@ -103,6 +103,7 @@ function toZodSchema(bookmark: BookmarkQueryReturnType): ZBookmark { type: "asset", assetType: asset.assetType, assetId: asset.assetId, + fileName: asset.fileName, }; } else { content = { type: "unknown" }; @@ -482,6 +483,7 @@ export const bookmarksAppRouter = router({ type: "asset", assetId: row.bookmarkAssets.assetId, assetType: row.bookmarkAssets.assetType, + fileName: row.bookmarkAssets.fileName, }; } else { content = { type: "unknown" }; -- cgit v1.2.3-70-g09d2