diff options
Diffstat (limited to 'dashboard/app/reporting_email.go')
| -rw-r--r-- | dashboard/app/reporting_email.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/app/reporting_email.go b/dashboard/app/reporting_email.go index 253851872..3c198792a 100644 --- a/dashboard/app/reporting_email.go +++ b/dashboard/app/reporting_email.go @@ -8,7 +8,7 @@ import ( "encoding/json" "errors" "fmt" - "io/ioutil" + "io" "net/http" "net/mail" "regexp" @@ -465,7 +465,7 @@ func handleTestCommand(c context.Context, info *bugInfoResult, msg *email.Email) func handleEmailBounce(w http.ResponseWriter, r *http.Request) { c := appengine.NewContext(r) - body, err := ioutil.ReadAll(r.Body) + body, err := io.ReadAll(r.Body) if err != nil { log.Errorf(c, "email bounced: failed to read body: %v", err) return |
