diff --git a/issue.go b/issue.go index 0a5e8ce..7bb50df 100644 --- a/issue.go +++ b/issue.go @@ -78,6 +78,7 @@ type EditIssueOption struct { Body *string `json:"body"` Assignee *string `json:"assignee"` Milestone *int64 `json:"milestone"` + State *string `json:"state"` } func (c *Client) EditIssue(owner, repo string, index int64, opt EditIssueOption) (*Issue, error) {