summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-06-07 22:20:53 +0200
committerGitHub <noreply@github.com>2020-06-07 23:20:53 +0300
commit78f0b5b92bd8739d6851fe00a12fdffda5f6e0dd (patch)
tree929a9a83a76297760cb8db714d0c7e991d53eaa8 /modules
parent20951c5c215bb76385eb70e256e6858c1d53aa05 (diff)
downloadgitea-78f0b5b92bd8739d6851fe00a12fdffda5f6e0dd.tar.gz
gitea-78f0b5b92bd8739d6851fe00a12fdffda5f6e0dd.zip
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>
Diffstat (limited to 'modules')
-rw-r--r--modules/structs/pull.go1
1 files changed, 1 insertions, 0 deletions
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"`