From 8fca975da2d164a37e740a1bef69b659556655ab Mon Sep 17 00:00:00 2001 From: b5 Date: Thu, 25 Jul 2019 22:18:46 -0400 Subject: [PATCH] fix(fsi save): fix fsi not accepting values from API --- api/fsi.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/api/fsi.go b/api/fsi.go index cbbae98ee..3e42d0778 100644 --- a/api/fsi.go +++ b/api/fsi.go @@ -197,14 +197,13 @@ func (h *FSIHandlers) saveHandler(w http.ResponseWriter, r *http.Request) { } ds := ref.Dataset - // ds.Assign(fds) + ds.Assign(fds) path := ds.Path bodyPath := ds.BodyPath if ds.Transform != nil && ds.Transform.ScriptPath != "" { ds.Transform.ScriptPath = filepath.Join(path, ds.Transform.ScriptPath) - fmt.Println(ds.Transform) } if ds.Viz != nil && ds.Viz.ScriptPath != "" { ds.Viz.ScriptPath = filepath.Join(path, ds.Viz.ScriptPath) @@ -214,9 +213,6 @@ func (h *FSIHandlers) saveHandler(w http.ResponseWriter, r *http.Request) { ds.PreviousPath = "" ds.BodyPath = "" - fmt.Println(path, ds.BodyPath) - fmt.Printf("%#v\n", ds) - p := &lib.SaveParams{ Ref: ref.AliasString(), Dataset: ds,