Skip to content

Commit 4b795b0

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

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
@@ -129,7 +129,7 @@ func (s *SubIssueService) Add(ctx context.Context, owner string, repo string, is
129129
// GitHub API docs: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue
130130
//
131131
//meta:operation PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority
132-
func (s *SubIssueService) Reprioritize(ctx context.Context, owner string, repo string, issueNumber int, subIssue *SubIssueRequest) (*SubIssue, *Response, error) {
132+
func (s *SubIssueService) Reprioritize(ctx context.Context, owner, repo string, issueNumber int64, subIssue SubIssueRequest) (*SubIssue, *Response, error) {
133133
u := fmt.Sprintf("repos/%v/%v/issues/%d/sub_issues/priority", owner, repo, issueNumber)
134134
req, err := s.client.NewRequest("PATCH", u, subIssue)
135135
if err != nil {

0 commit comments

Comments
 (0)