1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Move notifywatch to service layer (#33825)

No logic change.
This commit is contained in:
Lunny Xiao
2025-03-09 17:54:25 -07:00
committed by GitHub
parent 31ddbe1444
commit ae63568ce3
6 changed files with 189 additions and 190 deletions

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 ""
}