aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/pull.go')
-rw-r--r--modules/structs/pull.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/structs/pull.go b/modules/structs/pull.go
index 722d245afc..c4ec7d416a 100644
--- a/modules/structs/pull.go
+++ b/modules/structs/pull.go
@@ -88,5 +88,6 @@ type EditPullRequestOption struct {
Labels []int64 `json:"labels"`
State *string `json:"state"`
// swagger:strfmt date-time
- Deadline *time.Time `json:"due_date"`
+ Deadline *time.Time `json:"due_date"`
+ RemoveDeadline *bool `json:"unset_due_date"`
}