From aa2397dec8f9e598972e0de51135393049e46bbb Mon Sep 17 00:00:00 2001 From: BetaCat Date: Thu, 30 Aug 2018 22:29:03 +0800 Subject: [PATCH] Prepare for prioritize issues & update .gitignore for goland users (#117) Prepare for Prioritize issues & update .gitignore for goland users. Target on the [Issue](https://github.com/go-gitea/gitea/issues/2616) Signed-off-by: BetaCat0 --- gitea/issue.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gitea/issue.go b/gitea/issue.go index fee7cd6..8fc2b2b 100644 --- a/gitea/issue.go +++ b/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"` +}