Skip to content

Commit c090164

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

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
@@ -107,7 +107,7 @@ func (s *SubIssueService) ListByIssue(ctx context.Context, owner, repo string, i
107107
//
108108
//meta:operation POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues
109109
func (s *SubIssueService) Add(ctx context.Context, owner string, repo string, issueNumber int, subIssue *SubIssueRequest) (*SubIssue, *Response, error) {
110-
u := fmt.Sprintf("repos/%v/%v/issues/%d/sub_issues", owner, repo, issueNumber)
110+
u := fmt.Sprintf("repos/%v/%v/issues/%v/sub_issues", owner, repo, issueNumber)
111111
req, err := s.client.NewRequest("POST", u, subIssue)
112112
if err != nil {
113113
return nil, nil, err

0 commit comments

Comments
 (0)