File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ func registerHandler(app app.App) *mux.Router {
132132 public := v1 .PathPrefix ("/public" ).Subrouter ()
133133 public .HandleFunc ("/storage/{kind}/{path}" , app .ImageHandler .GetStorage ).Methods (http .MethodGet )
134134 public .HandleFunc ("/events" , app .EventHandler .GetEvents ).Methods (http .MethodGet )
135- public .HandleFunc ("/events/{id}" , app .EventHandler .GetEvents ).Methods (http .MethodGet )
135+ public .HandleFunc ("/events/{id}" , app .EventHandler .GetEventByID ).Methods (http .MethodGet )
136136 public .HandleFunc ("/images" , app .ImageHandler .UploadImage ).Methods (http .MethodPost )
137137 public .HandleFunc ("/events/registrations" , app .EventHandler .RegisterEvent ).Methods (http .MethodPost )
138138 public .HandleFunc ("/events/registrations/{order_no}" , app .EventHandler .RegistrationStatus ).Methods (http .MethodGet )
You can’t perform that action at this time.
0 commit comments