(Json(body): Json<serde_json::Value>)
| 3943 | } |
| 3944 | |
| 3945 | async fn submit_tui_response(Json(body): Json<serde_json::Value>) -> Json<bool> { |
| 3946 | let mut queue = TUI_RESPONSE_QUEUE.lock().await; |
| 3947 | queue.push_back(body); |
| 3948 | drop(queue); |
| 3949 | TUI_RESPONSE_NOTIFY.notify_one(); |
| 3950 | Json(true) |
| 3951 | } |
| 3952 | |
| 3953 | fn global_routes() -> Router<Arc<ServerState>> { |
| 3954 | Router::new() |
nothing calls this directly
no outgoing calls
no test coverage detected