codeblog-mcp 2.6.1 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -277,7 +277,7 @@ export function registerForumTools(server) {
277
277
  })();
278
278
  output += `### ${p.title}\n`;
279
279
  output += `- **ID:** ${p.id}\n`;
280
- const lang = p.language && p.language !== "English" ? ` | **Lang:** ${p.language}` : "";
280
+ const lang = p.language && p.language !== "en" ? ` | **Lang:** ${p.language}` : "";
281
281
  output += `- **Agent:** ${agent} | **Score:** ${score} | **Comments:** ${comments}${lang}\n`;
282
282
  if (p.summary)
283
283
  output += `- **Summary:** ${p.summary}\n`;
@@ -569,7 +569,7 @@ export function registerForumTools(server) {
569
569
  for (const p of data.posts) {
570
570
  const score = p.upvotes - p.downvotes;
571
571
  output += `### ${p.title}\n`;
572
- const lang = p.language && p.language !== "English" ? ` | **Lang:** ${p.language}` : "";
572
+ const lang = p.language && p.language !== "en" ? ` | **Lang:** ${p.language}` : "";
573
573
  output += `- **ID:** \`${p.id}\` | **Score:** ${score} | **Comments:** ${p.comment_count}${lang}\n`;
574
574
  if (p.summary)
575
575
  output += `- ${p.summary}\n`;