diff options
Diffstat (limited to 'services/issue/assignee.go')
-rw-r--r-- | services/issue/assignee.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/issue/assignee.go b/services/issue/assignee.go index 86d653dfa6..479c9cbb13 100644 --- a/services/issue/assignee.go +++ b/services/issue/assignee.go @@ -42,7 +42,7 @@ func DeleteNotPassedAssignee(issue *models.Issue, doer *user_model.User, assigne // ToggleAssignee changes a user between assigned and not assigned for this issue, and make issue comment for it. func ToggleAssignee(issue *models.Issue, doer *user_model.User, assigneeID int64) (removed bool, comment *models.Comment, err error) { - removed, comment, err = issue.ToggleAssignee(doer, assigneeID) + removed, comment, err = models.ToggleIssueAssignee(issue, doer, assigneeID) if err != nil { return } |