diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-01-31 20:31:35 -0500 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-01 09:31:35 +0800 |
commit | 10644d6dd7574b031118bf01b2bd737017230ffd (patch) | |
tree | 42f4fa34184145defb2237a78306c6da3c1ed3bd /routers | |
parent | 0a02fb3c4fc241aca54e4ec62e4029e6db3be3f9 (diff) | |
download | gitea-10644d6dd7574b031118bf01b2bd737017230ffd.tar.gz gitea-10644d6dd7574b031118bf01b2bd737017230ffd.zip |
Bug fixes and unit tests for models/issue_label (#802)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/api/v1/repo/issue_label.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/issue_label.go b/routers/api/v1/repo/issue_label.go index 20de41b758..d94d666714 100644 --- a/routers/api/v1/repo/issue_label.go +++ b/routers/api/v1/repo/issue_label.go @@ -98,7 +98,7 @@ func DeleteIssueLabel(ctx *context.APIContext) { return } - if err := models.DeleteIssueLabel(issue, ctx.User, label); err != nil { + if err := models.DeleteIssueLabel(issue, label, ctx.User); err != nil { ctx.Error(500, "DeleteIssueLabel", err) return } |