Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3ad9dc7df7 |
@@ -459,7 +459,10 @@ fn handle_request(method: String, path: String, body: String) -> String {
|
||||
return handle_api_inspect_graph(method, path, body)
|
||||
}
|
||||
if str_starts_with(clean, "/api/neuron/list/") {
|
||||
let node_type: String = str_slice(clean, 16, str_len(clean))
|
||||
// Offset 17 = len("/api/neuron/list/"). Was 16, which left a leading "/" on node_type
|
||||
// ("/BacklogItem"), so engram_scan_nodes_by_type_json matched nothing → list/<type>
|
||||
// returned [] for EVERY type (broke backlog/typed-node listing app- and tool-wide).
|
||||
let node_type: String = str_slice(clean, 17, str_len(clean))
|
||||
return handle_api_list_typed(node_type, path, body)
|
||||
}
|
||||
if str_starts_with(clean, "/api/neuron/recall") {
|
||||
|
||||
Reference in New Issue
Block a user