dont include job output without refresh
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user