diff options
author | Giteabot <teabot@gitea.io> | 2024-05-03 22:43:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 14:43:16 +0000 |
commit | a82e6301f77d3dce95e7945a05429e3d594bd246 (patch) | |
tree | eabfb11273f16ae9c20fd9b61295a98d59502529 /modules/structs | |
parent | 1f9a9fab5fbd48a634918f64bb579ae05405ff56 (diff) | |
download | gitea-a82e6301f77d3dce95e7945a05429e3d594bd246.tar.gz gitea-a82e6301f77d3dce95e7945a05429e3d594bd246.zip |
Fix no edit history after editing issue's title and content (#30814) (#30845)
Backport #30814 by @yp05327
Fix #30807
reuse functions in services
Co-authored-by: yp05327 <576951401@qq.com>
Diffstat (limited to 'modules/structs')
-rw-r--r-- | modules/structs/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/structs/pull.go b/modules/structs/pull.go index 05a8d59633..b04def52b8 100644 --- a/modules/structs/pull.go +++ b/modules/structs/pull.go @@ -85,7 +85,7 @@ type CreatePullRequestOption struct { // EditPullRequestOption options when modify pull request type EditPullRequestOption struct { Title string `json:"title"` - Body string `json:"body"` + Body *string `json:"body"` Base string `json:"base"` Assignee string `json:"assignee"` Assignees []string `json:"assignees"` |