dont include job output without refresh

This commit is contained in:
Bel LaPointe
2021-09-28 10:38:54 -06:00
parent 2cd9f5ea4d
commit 7db42cf5f0
3 changed files with 7 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ func (s *Server) list(w http.ResponseWriter, r *http.Request) {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
out[i] = toMap(j)
out[i] = toMap(j, false)
}
sort.Slice(out, func(i, j int) bool {
return out[i]["title"].(string) < out[j]["title"].(string)