diff options
| author | Grant Ammons <gammons@gmail.com> | 2017-03-29 08:41:38 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2017-03-29 08:41:38 -0400 |
| commit | 428e0a0afa15444d1fba3d15ecdebb90e52cdd42 (patch) | |
| tree | 3a2837115ed8d060d5db4c0aed6dd1c2a99657a7 | |
| parent | b036ca15caf784115386a82bf6d797e3a4554693 (diff) | |
Fix issue with web view
| -rw-r--r-- | todolist/webapp.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/todolist/webapp.go b/todolist/webapp.go index dcece3a..b91ba78 100644 --- a/todolist/webapp.go +++ b/todolist/webapp.go @@ -109,5 +109,6 @@ func SaveTodos(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { log.Fatal("encountered an error parsing json, ", err) } app := NewApp() + app.TodoStore.Load() app.TodoStore.Save(todos) } |
