diff options
Diffstat (limited to 'modules/private/mail.go')
-rw-r--r-- | modules/private/mail.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/private/mail.go b/modules/private/mail.go index bcf601b029..3efef3bece 100644 --- a/modules/private/mail.go +++ b/modules/private/mail.go @@ -50,7 +50,7 @@ func SendEmail(ctx context.Context, subject, message string, to []string) (int, return http.StatusInternalServerError, fmt.Sprintf("Response body error: %v", err.Error()) } - var users = fmt.Sprintf("%d", len(to)) + users := fmt.Sprintf("%d", len(to)) if len(to) == 0 { users = "all" } |