From 922f3f306239aca309279dbdf1bdedfb9788b6e8 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 10 Aug 2015 16:52:08 +0800 Subject: finish create issue with labels --- modules/auth/repo_form.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/auth') diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 3be8e0f8..d15135c9 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -98,8 +98,8 @@ func (f *NewSlackHookForm) Validate(ctx *macaron.Context, errs binding.Errors) b // \/ \/ \/ type CreateIssueForm struct { - Title string `binding:"Required;MaxSize(255)"` - LabelIDs []int64 `form:"label_id"` + Title string `binding:"Required;MaxSize(255)"` + LabelIDs string `form:"label_ids"` MilestoneID int64 AssigneeID int64 Content string -- cgit v1.2.3