@@ -46,9 +46,9 @@ type DiscussionCommentListOptions struct {
4646// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#list-discussion-comments
4747//
4848//meta:operation GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments
49- func (s * TeamsService ) ListCommentsByID (ctx context.Context , orgID , teamID int64 , discussionNumber int , options * DiscussionCommentListOptions ) ([]* DiscussionComment , * Response , error ) {
49+ func (s * TeamsService ) ListCommentsByID (ctx context.Context , orgID , teamID int64 , discussionNumber int , opts * DiscussionCommentListOptions ) ([]* DiscussionComment , * Response , error ) {
5050 u := fmt .Sprintf ("organizations/%v/team/%v/discussions/%v/comments" , orgID , teamID , discussionNumber )
51- u , err := addOptions (u , options )
51+ u , err := addOptions (u , opts )
5252 if err != nil {
5353 return nil , nil , err
5454 }
@@ -73,9 +73,9 @@ func (s *TeamsService) ListCommentsByID(ctx context.Context, orgID, teamID int64
7373// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#list-discussion-comments
7474//
7575//meta:operation GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments
76- func (s * TeamsService ) ListCommentsBySlug (ctx context.Context , org , slug string , discussionNumber int , options * DiscussionCommentListOptions ) ([]* DiscussionComment , * Response , error ) {
76+ func (s * TeamsService ) ListCommentsBySlug (ctx context.Context , org , slug string , discussionNumber int , opts * DiscussionCommentListOptions ) ([]* DiscussionComment , * Response , error ) {
7777 u := fmt .Sprintf ("orgs/%v/teams/%v/discussions/%v/comments" , org , slug , discussionNumber )
78- u , err := addOptions (u , options )
78+ u , err := addOptions (u , opts )
7979 if err != nil {
8080 return nil , nil , err
8181 }
0 commit comments