Mercurial > gemma
diff pkg/controllers/srimports.go @ 1531:24445a618513
Added stub for bottleneck importer.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 07 Dec 2018 13:08:17 +0100 |
parents | 5874cedd7f91 |
children | 49c04bb64e0a |
line wrap: on
line diff
--- a/pkg/controllers/srimports.go Fri Dec 07 12:31:37 2018 +0100 +++ b/pkg/controllers/srimports.go Fri Dec 07 13:08:17 2018 +0100 @@ -152,7 +152,7 @@ } sr.Dir = dir - serialized, err := sr.ToString() + serialized, err := common.ToJSONString(sr) if err != nil { log.Printf("error: %v\n", err) http.Error(rw, "error: "+err.Error(), http.StatusInternalServerError)