(State(state): State<Arc<AppState>>)
| 9 | }; |
| 10 | |
| 11 | pub async fn get_ready_handler(State(state): State<Arc<AppState>>) -> Response { |
| 12 | match state.database_write.last_used_auction_id().await { |
| 13 | Ok(_maybe_id) => StatusCode::OK.into_response(), |
| 14 | Err(err) => { |
| 15 | tracing::error!(?err, "/api/v1/ready"); |
| 16 | crate::api::internal_error_reply() |
| 17 | } |
| 18 | } |
| 19 | } |
nothing calls this directly
no test coverage detected