Skip to content

Commit 7ce86cd

Browse files
AGMETEORgmlewis
andauthored
Update github/issues.go
Co-authored-by: Glenn Lewis <[email protected]>
1 parent 33696c9 commit 7ce86cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/issues.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ func (s *IssuesService) Edit(ctx context.Context, owner string, repo string, num
304304
// This is a helper method to explicitly update an issue with a `null` milestone, thereby removing it.
305305
//
306306
// GitHub API docs: https://docs.github.com/en/free-pro-team@latest/rest/reference/issues/#update-an-issue
307-
func (s *IssuesService) RemoveMilestone(ctx context.Context, owner string, repo string, issueNumber int) (*Issue, *Response, error) {
307+
func (s *IssuesService) RemoveMilestone(ctx context.Context, owner, repo string, issueNumber int) (*Issue, *Response, error) {
308308
u := fmt.Sprintf("repos/%v/%v/issues/%v", owner, repo, issueNumber)
309309
req, err := s.client.NewRequest("PATCH", u, &struct {
310310
Milestone *Milestone `json:"milestone"`

0 commit comments

Comments
 (0)