Skip to content

Commit 34a413d

Browse files
committed
sort by created at instead of updated at by default
1 parent dbbf724 commit 34a413d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/discussions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func ListDiscussions(getGQLClient GetGQLClientFn, t translations.TranslationHelp
7474
return mcp.NewToolResultError(err.Error()), nil
7575
}
7676
if orderBy == "" {
77-
orderBy = "UPDATED_AT" // or "CREATED_AT"
77+
orderBy = "CREATED_AT"
7878
}
7979
direction, err := OptionalParam[string](request, "direction")
8080
if err != nil {

0 commit comments

Comments
 (0)