Handle multiple mail values

This commit is contained in:
Chris Mann 2023-07-27 22:16:44 +02:00
parent 767512838b
commit 2e3441bb76

View file

@ -48,6 +48,7 @@ func handleUserMail(w http.ResponseWriter, r *http.Request) {
log.Printf("handleUserMail %v", modifyRequest)
err = login.conn.Modify(modifyRequest)
if err != nil {
log.Printf("handleUserMail DeleteMail %v", err)
http.Error(w, fmt.Sprintf("Error deleting the email: %s", err), http.StatusInternalServerError)
return
}