aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-06-07 21:13:40 +0200
committerGitHub <noreply@github.com>2020-06-07 20:13:40 +0100
commit5814079bf5fd2369f8720a94128533bad21d1b17 (patch)
treeadfb71874aae1402af740d5daf2d2599730cbf5d /modules
parent880ae454db47b7a736024df230d115f83a108b02 (diff)
downloadgitea-5814079bf5fd2369f8720a94128533bad21d1b17.tar.gz
gitea-5814079bf5fd2369f8720a94128533bad21d1b17.zip
Add option to API to update PullRequest base branch (#11666)
* EditPull: add option to change base Close #11552
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 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"`