aboutsummaryrefslogtreecommitdiffstats
path: root/services/issue/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/issue/issue.go')
-rw-r--r--services/issue/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/issue/issue.go b/services/issue/issue.go
index 47782e50d3..8342d7f5d2 100644
--- a/services/issue/issue.go
+++ b/services/issue/issue.go
@@ -209,7 +209,7 @@ func GetRefEndNamesAndURLs(issues []*issues_model.Issue, repoLink string) (map[i
// deleteIssue deletes the issue
func deleteIssue(issue *issues_model.Issue) error {
- ctx, committer, err := db.TxContext()
+ ctx, committer, err := db.TxContext(db.DefaultContext)
if err != nil {
return err
}