Skip to content

Commit 42e1772

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

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
@@ -49,7 +49,7 @@ type SubIssueRequest struct {
4949
// GitHub API docs: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue
5050
//
5151
//meta:operation DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue
52-
func (s *SubIssueService) Remove(ctx context.Context, owner string, repo string, subIssueNumber int, subIssue *SubIssueRequest) (*SubIssue, *Response, error) {
52+
func (s *SubIssueService) Remove(ctx context.Context, owner, repo string, subIssueNumber int64, subIssue SubIssueRequest) (*SubIssue, *Response, error) {
5353
u := fmt.Sprintf("repos/%v/%v/issues/%d/sub_issues", owner, repo, subIssueNumber)
5454

5555
req, err := s.client.NewRequest("DELETE", u, subIssue)

0 commit comments

Comments
 (0)