File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ func registerHandler(app app.App) *mux.Router {
132
132
public := v1 .PathPrefix ("/public" ).Subrouter ()
133
133
public .HandleFunc ("/storage/{kind}/{path}" , app .ImageHandler .GetStorage ).Methods (http .MethodGet )
134
134
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 )
136
136
public .HandleFunc ("/images" , app .ImageHandler .UploadImage ).Methods (http .MethodPost )
137
137
public .HandleFunc ("/events/registrations" , app .EventHandler .RegisterEvent ).Methods (http .MethodPost )
138
138
public .HandleFunc ("/events/registrations/{order_no}" , app .EventHandler .RegistrationStatus ).Methods (http .MethodGet )
You can’t perform that action at this time.
0 commit comments