Bug fixes and unit tests for models/issue_label (#802)
This commit is contained in:
parent
0a02fb3c4f
commit
10644d6dd7
8 changed files with 301 additions and 14 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue