(
State(state): State<SharedState>,
Path(id): Path<Uuid>,
)
| 1313 | } |
| 1314 | |
| 1315 | async fn cancel_task( |
| 1316 | State(state): State<SharedState>, |
| 1317 | Path(id): Path<Uuid>, |
| 1318 | ) -> Result<impl IntoResponse, (StatusCode, String)> { |
| 1319 | cancel_task_internal(&state, id).await |
| 1320 | } |
| 1321 | |
| 1322 | async fn cancel_task_internal( |
| 1323 | state: &AppState, |
nothing calls this directly
no test coverage detected