changeset 1241:a45fa8943254

Sounding result import: Forgot to return the token temp file to the importer. Doh!
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 20 Nov 2018 18:05:19 +0100
parents 9b0a7b3ea297
children da99d4560fd4 c14353e2cdb9
files pkg/controllers/srimports.go
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/srimports.go	Tue Nov 20 17:37:30 2018 +0100
+++ b/pkg/controllers/srimports.go	Tue Nov 20 18:05:19 2018 +0100
@@ -61,6 +61,7 @@
 		if err := misc.UnmakeTempFile(token, dst); err != nil {
 			return "", err
 		}
+		return dst, nil
 	}
 
 	return storeSoundingResult(req)