sending mail to the prescripteur when beneficiary is delete
This commit is contained in:
parent
11e2375456
commit
f09d9d0a16
|
@ -541,8 +541,10 @@ func (h *ApplicationHandler) AgendaDeleteSubscribeEvent(w http.ResponseWriter, r
|
|||
}
|
||||
|
||||
data := map[string]any{
|
||||
"key": r.FormValue("motif"),
|
||||
"user": current_user_claims["email"],
|
||||
"motif": r.FormValue("motif"),
|
||||
"user": current_user_claims["first_name"].(string) + " " + current_user_claims["last_name"].(string),
|
||||
"subscriber": fmt.Sprintf("http://localhost:9000/app/beneficiaries/%s", subscribeid),
|
||||
"link": fmt.Sprintf("http://localhost:9000/app/agenda/%s", eventId),
|
||||
}
|
||||
|
||||
// récupérer l'adresse mail de l'utilisateur qui a créé l'événement
|
||||
|
|
Loading…
Reference in New Issue