diff --git a/handlers/application/agenda.go b/handlers/application/agenda.go index 4931159..506b0f3 100644 --- a/handlers/application/agenda.go +++ b/handlers/application/agenda.go @@ -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