aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/assignees.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/assignees.go')
-rw-r--r--models/issues/assignees.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/assignees.go b/models/issues/assignees.go
index 25ecd4b05c..d3a1f5ffe8 100644
--- a/models/issues/assignees.go
+++ b/models/issues/assignees.go
@@ -118,7 +118,7 @@ func toggleIssueAssignee(ctx context.Context, issue *Issue, doer *user_model.Use
// toggles user assignee state in database
func toggleUserAssignee(ctx context.Context, issue *Issue, assigneeID int64) (removed bool, err error) {
// Check if the user exists
- assignee, err := user_model.GetUserByIDCtx(ctx, assigneeID)
+ assignee, err := user_model.GetUserByID(ctx, assigneeID)
if err != nil {
return false, err
}