fix some err
This commit is contained in:
parent
a2b644d548
commit
e03f31d3f4
|
@ -418,8 +418,7 @@ func (h *ApplicationHandler) DisplayGroupCovoiturage(w http.ResponseWriter, r *h
|
|||
w.WriteHeader(http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/*******************Code to store more information about mermbers groupscovoiturage**************/
|
||||
if r.FormValue("departure") != "" {
|
||||
var a any
|
||||
json.Unmarshal([]byte(r.FormValue("departure")), &a)
|
||||
|
@ -446,7 +445,6 @@ func (h *ApplicationHandler) DisplayGroupCovoiturage(w http.ResponseWriter, r *h
|
|||
return
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////
|
||||
request_organizatio := &groupsmanagement.SubscribeMemberRequest{
|
||||
Group: &groupsmanagement.GroupMember{
|
||||
Memberid: respbeneficiary.Account.Id,
|
||||
|
@ -461,7 +459,7 @@ func (h *ApplicationHandler) DisplayGroupCovoiturage(w http.ResponseWriter, r *h
|
|||
w.WriteHeader(http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
////////////////////////////////////////////////
|
||||
/******************************************************************************************************/
|
||||
|
||||
http.Redirect(w, r, fmt.Sprintf("/app/journeys/groups_covoiturage/create/%s", resp.Group.ToStorageType().ID), http.StatusFound)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue