From 5814079bf5fd2369f8720a94128533bad21d1b17 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 7 Jun 2020 21:13:40 +0200 Subject: Add option to API to update PullRequest base branch (#11666) * EditPull: add option to change base Close #11552 --- modules/structs/pull.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/structs/pull.go b/modules/structs/pull.go index 8dea51f2c6..653091b2f4 100644 --- a/modules/structs/pull.go +++ b/modules/structs/pull.go @@ -83,6 +83,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