Update EditPullRequestOption struct (#601)
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/601 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
This commit is contained in:
parent
a0127ed0e7
commit
5852fcc4a3
1 changed files with 11 additions and 9 deletions
|
@ -173,6 +173,8 @@ type EditPullRequestOption struct {
|
||||||
Labels []int64 `json:"labels"`
|
Labels []int64 `json:"labels"`
|
||||||
State *StateType `json:"state"`
|
State *StateType `json:"state"`
|
||||||
Deadline *time.Time `json:"due_date"`
|
Deadline *time.Time `json:"due_date"`
|
||||||
|
RemoveDeadline *bool `json:"unset_due_date"`
|
||||||
|
AllowMaintainerEdit *bool `json:"allow_maintainer_edit"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate the EditPullRequestOption struct
|
// Validate the EditPullRequestOption struct
|
||||||
|
|
Loading…
Reference in a new issue