Context7 Platform -- Up-to-date docs for AI agents
refactor: remove unnecessary default empty string from topic parameter
enesgulesdd3b5db97f00
diff --git a/src/index.ts b/src/index.tsindex 60521680..b5136c01 100644--- a/src/index.ts+++ b/src/index.ts@@ -217,7 +217,7 @@ server.registerTool(),},},- async ({ context7CompatibleLibraryID, page = 1, topic = "" }) => {+ async ({ context7CompatibleLibraryID, page = 1, topic }) => {const ctx = requestContext.getStore();const apiKey = ctx?.apiKey || globalApiKey;const fetchDocsResponse = await fetchLibraryDocumentation(