Update EditPullRequestOption Add Base (#353)

Follow https://github.com/go-gitea/gitea/pull/11666

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/353
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
This commit is contained in:
blaggacao 2020-06-03 17:54:19 +00:00 committed by 6543
parent e7c56d8f50
commit 98cfcfe13b
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ func (c *Client) CreatePullRequest(owner, repo string, opt CreatePullRequestOpti
type EditPullRequestOption struct {
Title string `json:"title"`
Body string `json:"body"`
Base string `json:"base"`
Assignee string `json:"assignee"`
Assignees []string `json:"assignees"`
Milestone int64 `json:"milestone"`