Handle multiple mail values
This commit is contained in:
parent
767512838b
commit
2e3441bb76
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue