Fix no edit history after editing issue's title and content (#30814)

Fix #30807

reuse functions in services
This commit is contained in:
yp05327 authored and GitHub committed 2024-05-03 14:11:51 +08:00
1 parent 53b55223d1
commit a50026e2f3
6 files changed
+56 -105

No files matched your search

+1 -1
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"`