Skip to content

Commit 33696c9

Browse files
committed
use explicit type
1 parent 9d83458 commit 33696c9

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
@@ -307,7 +307,7 @@ func (s *IssuesService) Edit(ctx context.Context, owner string, repo string, num
307307
func (s *IssuesService) RemoveMilestone(ctx context.Context, owner string, 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 {
310-
Milestone interface{} `json:"milestone"`
310+
Milestone *Milestone `json:"milestone"`
311311
}{})
312312
if err != nil {
313313
return nil, nil, err

0 commit comments

Comments
 (0)