summaryrefslogtreecommitdiffstats
path: root/modules/structs/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/issue.go')
-rw-r--r--modules/structs/issue.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/structs/issue.go b/modules/structs/issue.go
index bd39f9ea44..b27c757faa 100644
--- a/modules/structs/issue.go
+++ b/modules/structs/issue.go
@@ -99,7 +99,8 @@ type EditIssueOption struct {
Milestone *int64 `json:"milestone"`
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"`
}
// EditDeadlineOption options for creating a deadline