Skip to content

Commit e21635c

Browse files
committed
update default page size const
1 parent b09612e commit e21635c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pkg/github/discussions.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import (
1313
"github.com/shurcooL/githubv4"
1414
)
1515

16+
const DefaultGraphQLPageSize = 30
17+
1618
func ListDiscussions(getGQLClient GetGQLClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
1719
return mcp.NewTool("list_discussions",
1820
mcp.WithDescription(t("TOOL_LIST_DISCUSSIONS_DESCRIPTION", "List discussions for a repository")),

pkg/github/discussions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ func Test_GetDiscussionComments(t *testing.T) {
318318

319319
textContent := getTextResult(t, result)
320320

321-
// (Lines removed)
321+
// (Lines removed)
322322

323323
var response struct {
324324
Comments []*github.IssueComment `json:"comments"`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy