Move notifywatch to service layer (#33825)

No logic change.
This commit is contained in:
Lunny Xiao authored and GitHub committed 2025-03-10 00:54:25 +00:00
1 parent 31ddbe1444
commit ae63568ce3
6 files changed
+189 -190

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ func toReleaseLink(ctx *context.Context, act *activities_model.Action) string {
// renderCommentMarkdown renders the comment markdown to html
func renderCommentMarkdown(ctx *context.Context, act *activities_model.Action, content string) template.HTML {
act.LoadRepo(ctx)
_ = act.LoadRepo(ctx)
if act.Repo == nil {
return ""
}