aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/issue.go')
-rw-r--r--models/issues/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/issue.go b/models/issues/issue.go
index e0dcf3d269..b1c7fdbf7e 100644
--- a/models/issues/issue.go
+++ b/models/issues/issue.go
@@ -2099,7 +2099,7 @@ func ResolveIssueMentionsByVisibility(ctx context.Context, issue *Issue, doer *u
resolved := make(map[string]bool, 10)
var mentionTeams []string
- if err := issue.Repo.GetOwner(ctx); err != nil {
+ if err := issue.Repo.LoadOwner(ctx); err != nil {
return nil, err
}