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>
This commit is contained in:
Giteabot 2024-05-03 22:43:16 +08:00 committed by GitHub
parent 1f9a9fab5f
commit a82e6301f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 56 additions and 105 deletions

View file

@ -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"`