fix trace

This commit is contained in:
Robin Appelman 2025-04-11 01:57:27 +02:00
commit 448993c27a
3 changed files with 269 additions and 243 deletions

521
api-server/Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -6,8 +6,7 @@ edition = "2021"
[dependencies] [dependencies]
tokio = { version = "1.34.0", features = ["macros", "rt-multi-thread", "rt", "signal"] } tokio = { version = "1.34.0", features = ["macros", "rt-multi-thread", "rt", "signal"] }
main_error = "0.1.2" main_error = "0.1.2"
#ugc-scraper = { path = "../", version = "*" } ugc-scraper = { version = "0.4.1", path = ".." }
ugc-scraper = "0.4.1"
axum = "0.7.4" axum = "0.7.4"
steamid-ng = "1.0.0" steamid-ng = "1.0.0"
thiserror = "1.0.50" thiserror = "1.0.50"

View file

@ -170,7 +170,7 @@ async fn match_page(
Path(id): Path<u32>, Path(id): Path<u32>,
State(state): State<AppState>, State(state): State<AppState>,
) -> Result<impl IntoResponse, ApiError> { ) -> Result<impl IntoResponse, ApiError> {
debug!(team = id, "requesting match"); debug!(r#match = id, "requesting match");
let response = state.client.match_info(id).await?; let response = state.client.match_info(id).await?;
Ok(Json(response)) Ok(Json(response))
} }