aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue_reaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_reaction.go')
-rw-r--r--models/issue_reaction.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_reaction.go b/models/issue_reaction.go
index 423eb8b96c..2f64609e99 100644
--- a/models/issue_reaction.go
+++ b/models/issue_reaction.go
@@ -240,7 +240,7 @@ func (r *Reaction) LoadUser() (*User, error) {
if r.User != nil {
return r.User, nil
}
- user, err := getUserByID(db.GetEngine(db.DefaultContext), r.UserID)
+ user, err := GetUserByIDCtx(db.DefaultContext, r.UserID)
if err != nil {
return nil, err
}