summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/sdk/gitea/issue.go
diff options
context:
space:
mode:
authorPeter Hoffmann <Hoffmann.P@gmx.net>2018-10-28 23:03:02 +0100
committertechknowlogick <hello@techknowlogick.com>2018-10-28 18:03:02 -0400
commitfb14458010e1c18dc08549bbe83cab56fc690bc7 (patch)
treeebbb34e05fb6f4e1ccd1f827813cc18c5e2a63b6 /vendor/code.gitea.io/sdk/gitea/issue.go
parent48badd59e9401df50f36dbd19a4a8167265d618d (diff)
downloadgitea-fb14458010e1c18dc08549bbe83cab56fc690bc7.tar.gz
gitea-fb14458010e1c18dc08549bbe83cab56fc690bc7.zip
fix: Add secret to all webhook's payload where it has been missing (#5199)
* fix: Add secret to all webhook's payload where it has been missing affects webhooks for: * Delete * Fork * IssueComment * Release
Diffstat (limited to 'vendor/code.gitea.io/sdk/gitea/issue.go')
-rw-r--r--vendor/code.gitea.io/sdk/gitea/issue.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/issue.go b/vendor/code.gitea.io/sdk/gitea/issue.go
index fee7cd6f9f..8fc2b2bf7b 100644
--- a/vendor/code.gitea.io/sdk/gitea/issue.go
+++ b/vendor/code.gitea.io/sdk/gitea/issue.go
@@ -152,3 +152,9 @@ type IssueDeadline struct {
// swagger:strfmt date-time
Deadline *time.Time `json:"due_date"`
}
+
+// EditPriorityOption options for updating priority
+type EditPriorityOption struct {
+ // required:true
+ Priority int `json:"priority"`
+}