summaryrefslogtreecommitdiffstats
path: root/routers/private/mail.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private/mail.go')
-rw-r--r--routers/private/mail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/private/mail.go b/routers/private/mail.go
index 5218cd34a1..8b69c38093 100644
--- a/routers/private/mail.go
+++ b/routers/private/mail.go
@@ -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)
}