From 78f0b5b92bd8739d6851fe00a12fdffda5f6e0dd Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 7 Jun 2020 22:20:53 +0200 Subject: Add option to API to update PullRequest base branch (#11666) (#11796) * EditPull: add option to change base Close #11552 Co-authored-by: Lauris BH <lauris@nix.lv> --- modules/structs/pull.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/structs') diff --git a/modules/structs/pull.go b/modules/structs/pull.go index c4ec7d416a..90b3807ddb 100644 --- a/modules/structs/pull.go +++ b/modules/structs/pull.go @@ -82,6 +82,7 @@ type CreatePullRequestOption struct { 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"` -- cgit v1.2.3