Skip to content

Commit 2b323c2

Browse files
committed
Dont use the request var
1 parent 6fa137b commit 2b323c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/github/context_tools.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func GetTeams(getClient GetClientFn, getGQLClient GetGQLClientFn, t translations
122122
},
123123
},
124124
},
125-
func(ctx context.Context, request *mcp.CallToolRequest, args map[string]any) (*mcp.CallToolResult, any, error) {
125+
func(ctx context.Context, _ *mcp.CallToolRequest, args map[string]any) (*mcp.CallToolResult, any, error) {
126126
user, err := OptionalParam[string](args, "user")
127127
if err != nil {
128128
return utils.NewToolResultError(err.Error()), nil, nil
@@ -221,7 +221,7 @@ func GetTeamMembers(getGQLClient GetGQLClientFn, t translations.TranslationHelpe
221221
Required: []string{"org", "team_slug"},
222222
},
223223
},
224-
func(ctx context.Context, request *mcp.CallToolRequest, args map[string]any) (*mcp.CallToolResult, any, error) {
224+
func(ctx context.Context, _ *mcp.CallToolRequest, args map[string]any) (*mcp.CallToolResult, any, error) {
225225
org, err := RequiredParam[string](args, "org")
226226
if err != nil {
227227
return utils.NewToolResultError(err.Error()), nil, nil

0 commit comments

Comments
 (0)