mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-16 04:55:59 +00:00
Refactor HTTP request context (#17979)
This commit is contained in:
@@ -86,5 +86,5 @@ func sendEmail(ctx *context.PrivateContext, subject, message string, to []string
|
||||
|
||||
wasSent := strconv.Itoa(len(to))
|
||||
|
||||
ctx.PlainText(http.StatusOK, []byte(wasSent))
|
||||
ctx.PlainText(http.StatusOK, wasSent)
|
||||
}
|
||||
|
Reference in New Issue
Block a user