summaryrefslogtreecommitdiffstats
path: root/modules/structs/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/pull.go')
-rw-r--r--modules/structs/pull.go2
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"`