From 02fdc1a194557a9d814526101761f4a88c581af6 Mon Sep 17 00:00:00 2001 From: logikonline Date: Sun, 5 Apr 2026 08:45:31 -0400 Subject: [PATCH] chore(mcp): suppress unparam linter warning for toolListLandingTemplates Adds nolint:unparam directive to toolListLandingTemplates. Function signature must match tool handler interface even though parameters are unused. --- routers/api/v2/mcp_pages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v2/mcp_pages.go b/routers/api/v2/mcp_pages.go index a96e9781b0..9645814efc 100644 --- a/routers/api/v2/mcp_pages.go +++ b/routers/api/v2/mcp_pages.go @@ -270,7 +270,7 @@ func toolGetLandingConfig(ctx *context.APIContext, args map[string]any) (any, er return buildFullResponse(config), nil } -func toolListLandingTemplates(_ *context.APIContext, _ map[string]any) (any, error) { +func toolListLandingTemplates(_ *context.APIContext, _ map[string]any) (any, error) { //nolint:unparam templates := pages_module.ValidTemplates() displayNames := pages_module.TemplateDisplayNames()