File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,8 +195,8 @@ func registerHandler(app app.App) *mux.Router {
195195 protectedV1AdminRoute .HandleFunc ("/events/{id}" , app .EventHandler .GetDetail ).Methods (http .MethodGet )
196196 protectedV1AdminRoute .HandleFunc ("/events/{id}" , app .EventHandler .UpdateEvent ).Methods (http .MethodPut )
197197 protectedV1AdminRoute .HandleFunc ("/events/{id}" , app .EventHandler .DeleteEvent ).Methods (http .MethodDelete )
198- protectedV1AdminRoute .HandleFunc ("/events/{id}/registration " , app .EventHandler .ListRegistrationByEvent ).Methods (http .MethodGet )
199- protectedV1AdminRoute .HandleFunc ("/events/registration /{id}/status" , app .EventHandler .UpdateRegistrationStatus ).Methods (http .MethodPatch )
198+ protectedV1AdminRoute .HandleFunc ("/events/{id}/registrations " , app .EventHandler .ListRegistrationByEvent ).Methods (http .MethodGet )
199+ protectedV1AdminRoute .HandleFunc ("/events/registrations /{id}/status" , app .EventHandler .UpdateRegistrationStatus ).Methods (http .MethodPatch )
200200
201201 // users
202202 protectedV1AdminRoute .HandleFunc ("/users" , app .UserHandler .GetUsers ).Methods (http .MethodGet )
You can’t perform that action at this time.
0 commit comments