Expose ignores in the UI

This commit is contained in:
Audrius Butkevicius committed 2014-09-21 22:34:53 +01:00
1 parent d96ce23451
commit b084b4faaf
5 files changed
+78 -2

No files matched your search

+1
View File
@@ -479,6 +479,7 @@ func restPostIgnores(m *model.Model, w http.ResponseWriter, r *http.Request) {
var data map[string][]string
err := json.NewDecoder(r.Body).Decode(&data)
r.Body.Close()
if err != nil {
http.Error(w, err.Error(), 500)
return