diff pkg/controllers/routes.go @ 5185:3c748b2b4de6 new-fwa

Merged default into new-fwa branch.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 27 Mar 2020 15:57:40 +0100
parents 445daeefca7b 2dcfab23dc86
children 7dbb7cc6dbfa
line wrap: on
line diff
--- a/pkg/controllers/routes.go	Mon Mar 23 15:29:55 2020 +0100
+++ b/pkg/controllers/routes.go	Fri Mar 27 15:57:40 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) },