diff options
author | 6543 <6543@obermui.de> | 2020-06-07 21:13:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-07 20:13:40 +0100 |
commit | 5814079bf5fd2369f8720a94128533bad21d1b17 (patch) | |
tree | adfb71874aae1402af740d5daf2d2599730cbf5d /modules/structs | |
parent | 880ae454db47b7a736024df230d115f83a108b02 (diff) | |
download | gitea-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/structs')
-rw-r--r-- | modules/structs/pull.go | 1 |
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"` |