changeset 2584:0c400404a237

Morphological differences: Fixed type assertion for input json.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 11 Mar 2019 16:48:04 +0100
parents 5c6a7e69b02d
children 0b25c75a3a63
files pkg/controllers/diff.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/diff.go	Mon Mar 11 16:42:38 2019 +0100
+++ b/pkg/controllers/diff.go	Mon Mar 11 16:48:04 2019 +0100
@@ -95,7 +95,7 @@
 	begin := time.Now()
 	start := begin
 
-	dci := input.(models.DiffCalculationInput)
+	dci := input.(*models.DiffCalculationInput)
 
 	ctx := req.Context()