Skip to content

Commit 1812bee

Browse files
committed
Fix test
1 parent 061827b commit 1812bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/issue/issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func deleteIssue(issue *issues_model.Issue) error {
229229
}
230230

231231
// find attachments related to this issue and remove them
232-
if err := issue.LoadAttributes(db.DefaultContext); err != nil {
232+
if err := issue.LoadAttributes(ctx); err != nil {
233233
return err
234234
}
235235

0 commit comments

Comments
 (0)