aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/routers
diff options
context:
space:
mode:
Diffstat (limited to 'packages/trpc/routers')
-rw-r--r--packages/trpc/routers/bookmarks.ts2
1 files changed, 2 insertions, 0 deletions
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" };