Mercurial > gemma
diff pkg/controllers/routes.go @ 5127:2dcfab23dc86
Removed no longer used endpoint /bottlenecks
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Fri, 27 Mar 2020 10:33:39 +0100 |
parents | d727641911a5 |
children | 3c748b2b4de6 |
line wrap: on
line diff
--- a/pkg/controllers/routes.go Fri Mar 27 10:17:09 2020 +0100 +++ b/pkg/controllers/routes.go Fri Mar 27 10:33:39 2020 +0100 @@ -176,11 +176,6 @@ Handle: listSurveys, })).Methods(http.MethodGet) - // Bottlenecks - api.Handle("/bottlenecks", any(&mw.JSONHandler{ - Handle: listBottlenecks, - })).Methods(http.MethodGet) - // difference calculation api.Handle("/diff", any(&mw.JSONHandler{ Input: func(*http.Request) interface{} { return new(models.DiffCalculationInput) },