Skip to content

Commit 36a4697

Browse files
e7217gmlewis
andauthored
Update github/sub_issue.go
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
1 parent 8c3d97c commit 36a4697

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github/sub_issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (s *SubIssueService) Remove(ctx context.Context, owner, repo string, subIss
7474
// GitHub API docs: https://docs.github.com/rest/issues/sub-issues#list-sub-issues
7575
//
7676
//meta:operation GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues
77-
func (s *SubIssueService) ListByIssue(ctx context.Context, owner string, repo string, issueNumber int, opts *IssueListOptions) ([]*SubIssue, *Response, error) {
77+
func (s *SubIssueService) ListByIssue(ctx context.Context, owner, repo string, issueNumber int64, opts *IssueListOptions) ([]*SubIssue, *Response, error) {
7878
u := fmt.Sprintf("repos/%v/%v/issues/%d/sub_issues", owner, repo, issueNumber)
7979
u, err := addOptions(u, opts)
8080
if err != nil {

0 commit comments

Comments
 (0)