diff options
Diffstat (limited to 'apps/workers/searchWorker.ts')
| -rw-r--r-- | apps/workers/searchWorker.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/workers/searchWorker.ts b/apps/workers/searchWorker.ts index 42a28bc1..a2dff49c 100644 --- a/apps/workers/searchWorker.ts +++ b/apps/workers/searchWorker.ts @@ -68,7 +68,7 @@ async function runIndex( ...(bookmark.link ? { url: bookmark.link.url, - title: bookmark.link.title, + linkTitle: bookmark.link.title, description: bookmark.link.description, content: bookmark.link.content, } @@ -81,6 +81,7 @@ async function runIndex( : undefined), ...(bookmark.text ? { content: bookmark.text.text } : undefined), note: bookmark.note, + title: bookmark.title, createdAt: bookmark.createdAt.toISOString(), tags: bookmark.tagsOnBookmarks.map((t) => t.tag.name), }, |
