fix: restore go compatibility for runtime models
This commit is contained in:
@@ -60,10 +60,11 @@ func New(cfg app.Config) http.Handler {
|
||||
return
|
||||
}
|
||||
writeJSON(w, http.StatusOK, map[string]any{
|
||||
"items": snapshot.Threads,
|
||||
"edges": snapshot.SpawnEdges,
|
||||
"goals": snapshot.Goals,
|
||||
"source": snapshot.Source,
|
||||
"items": snapshot.Threads,
|
||||
"edges": snapshot.SpawnEdges,
|
||||
"goals": snapshot.Goals,
|
||||
"source": snapshot.Source,
|
||||
"sources": snapshot.Sources,
|
||||
})
|
||||
})
|
||||
mux.HandleFunc("/api/workflow/events", func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user