Mercurial > gemma
diff pkg/controllers/cross.go @ 3511:c50d955372b9 waterlevel-in-crossprofile
removed waterlevel property from cross profile endpoint
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Tue, 28 May 2019 17:14:52 +0200 |
parents | 5afca5bc1d7a |
children | 1458c9b0fdaa |
line wrap: on
line diff
--- a/pkg/controllers/cross.go Tue May 28 16:03:07 2019 +0200 +++ b/pkg/controllers/cross.go Tue May 28 17:14:52 2019 +0200 @@ -21,7 +21,6 @@ "net/http" "time" - "gemma.intevation.de/gemma/pkg/common" "gemma.intevation.de/gemma/pkg/models" "gemma.intevation.de/gemma/pkg/octree" ) @@ -167,13 +166,6 @@ Type: "MultiLineString", Coordinates: joined, }, - Properties: map[string]interface{}{ - "waterlevel": map[string]interface{}{ - // TODO: Fetch values from database. - "value": float64(50), - "when": start.Format(common.TimeFormat), - }, - }, }, }