Skip to content

Commit eb706e8

Browse files
Rename repo_type to repoType
1 parent 0e7debc commit eb706e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/github/organizations.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ func ListRepositories(client *github.Client, t translations.TranslationHelperFun
4848
},
4949
}
5050

51-
repo_type, err := OptionalParam[string](request, "type")
51+
repoType, err := OptionalParam[string](request, "type")
5252
if err != nil {
5353
return mcp.NewToolResultError(err.Error()), nil
5454
}
55-
if repo_type != "" {
56-
opts.Type = repo_type
55+
if repoType != "" {
56+
opts.Type = repoType
5757
}
5858
sort, err := OptionalParam[string](request, "sort")
5959
if err != nil {

0 commit comments

Comments
 (0)