aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/comment_code.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/comment_code.go')
-rw-r--r--models/issues/comment_code.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issues/comment_code.go b/models/issues/comment_code.go
index d447d7542c..49927fbbe2 100644
--- a/models/issues/comment_code.go
+++ b/models/issues/comment_code.go
@@ -99,11 +99,11 @@ func findCodeComments(ctx context.Context, opts FindCommentsOptions, issue *Issu
comments[n] = comment
n++
- if err := comment.LoadResolveDoer(); err != nil {
+ if err := comment.LoadResolveDoer(ctx); err != nil {
return nil, err
}
- if err := comment.LoadReactions(issue.Repo); err != nil {
+ if err := comment.LoadReactions(ctx, issue.Repo); err != nil {
return nil, err
}