From b63366a4bdcb3ba15fa33836f903c3babbb296ef Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 27 Apr 2025 02:14:59 +0000 Subject: fix(mcp): Remove extra new line in bookmark listing --- apps/mcp/package.json | 2 +- apps/mcp/src/utils.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/mcp/package.json b/apps/mcp/package.json index 0229ea1d..9ace5222 100644 --- a/apps/mcp/package.json +++ b/apps/mcp/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@karakeep/mcp", - "version": "0.23.9", + "version": "0.23.10", "description": "MCP server for Karakeep", "license": "GNU Affero General Public License version 3", "type": "module", diff --git a/apps/mcp/src/utils.ts b/apps/mcp/src/utils.ts index f34383ea..fb34ff21 100644 --- a/apps/mcp/src/utils.ts +++ b/apps/mcp/src/utils.ts @@ -25,8 +25,7 @@ export function compactBookmark( Bookmarked URL: ${bookmark.content.url} description: ${bookmark.content.description ?? ""} author: ${bookmark.content.author ?? ""} -publisher: ${bookmark.content.publisher ?? ""} -`; +publisher: ${bookmark.content.publisher ?? ""}`; } else if (bookmark.content.type === "text") { content = `Bookmark type: text Source URL: ${bookmark.content.sourceUrl ?? ""}`; -- cgit v1.2.3-70-g09d2