changeset 5234:30a55f46996f new-fwa

Another swapped sql parameter.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 12 May 2020 14:27:54 +0200
parents d6374435111a
children 987a56071402
files pkg/controllers/fwa.go
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/fwa.go	Tue May 12 14:16:30 2020 +0200
+++ b/pkg/controllers/fwa.go	Tue May 12 14:27:54 2020 +0200
@@ -714,8 +714,8 @@
 	rows, err := conn.QueryContext(
 		ctx, selectMeasurementsSQL,
 		bn.id,
-		from, to,
-		los)
+		los,
+		from, to)
 	if err != nil {
 		return err
 	}