From 98cfcfe13bd76b484181a924f08c4340aa2c92f3 Mon Sep 17 00:00:00 2001 From: blaggacao Date: Wed, 3 Jun 2020 17:54:19 +0000 Subject: [PATCH] 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 --- gitea/pull.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gitea/pull.go b/gitea/pull.go index a0c7d44..5005b18 100644 --- a/gitea/pull.go +++ b/gitea/pull.go @@ -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"`