Handle multiple mail values
This commit is contained in:
parent
418a8238c6
commit
4c660cad12
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ func handleUserMail(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
err = login.conn.Modify(modifyRequest)
|
err = login.conn.Modify(modifyRequest)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
http.Error(w, fmt.Sprintf("Error adding the email: %s", err), http.StatusInternalServerError)
|
http.Error(w, fmt.Sprintf("Error adding the email: %v", modifyRequest), http.StatusInternalServerError)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
} else if action == "Delete" && index != "" {
|
} else if action == "Delete" && index != "" {
|
||||||
|
|
Loading…
Reference in a new issue