diff options
Diffstat (limited to 'services/issue')
-rw-r--r-- | services/issue/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/issue/issue.go b/services/issue/issue.go index b2ac24e088..e3571bd396 100644 --- a/services/issue/issue.go +++ b/services/issue/issue.go @@ -24,7 +24,7 @@ func NewIssue(repo *models.Repository, issue *models.Issue, labelIDs []int64, uu } } - mentions, err := issue.FindAndUpdateIssueMentions(db.DefaultContext(), issue.Poster, issue.Content) + mentions, err := issue.FindAndUpdateIssueMentions(db.DefaultContext, issue.Poster, issue.Content) if err != nil { return err } |