From e03f31d3f433654efcd979663a7da0efcfd3a069 Mon Sep 17 00:00:00 2001 From: soukainna Date: Wed, 4 Jan 2023 16:12:49 +0100 Subject: [PATCH] fix some err --- handlers/application/journeys.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/handlers/application/journeys.go b/handlers/application/journeys.go index d95d040..d46cf23 100644 --- a/handlers/application/journeys.go +++ b/handlers/application/journeys.go @@ -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