Next round of db.DefaultContext refactor (#27089)

Part of #27065
This commit is contained in:
JakobDev authored and GitHub committed 2023-09-16 14:39:12 +00:00
1 parent a1b2a11812
commit f91dbbba98
90 files changed
+434 -464

No files matched your search

+1 -1
View File
@@ -170,7 +170,7 @@ func (h *UnsubscribeHandler) Handle(ctx context.Context, _ *MailContent, doer *u
return nil
}
return issues_model.CreateOrUpdateIssueWatch(doer.ID, issue.ID, false)
return issues_model.CreateOrUpdateIssueWatch(ctx, doer.ID, issue.ID, false)
}
return fmt.Errorf("unsupported unsubscribe reference: %v", ref)