fmt
Some checks failed
CI / Check (push) Failing after 4m14s
Build and publish Docker image / build-and-push (push) Successful in 4m52s

This commit is contained in:
Andras Schmelczer 2026-07-14 14:04:44 +01:00
parent cf348c3ea4
commit d1faad314b
14 changed files with 55 additions and 35 deletions

View file

@ -673,14 +673,18 @@ fn extract_price_history(df: &DataFrame) -> Result<Vec<Vec<PriceHistoryPoint>>>
let dates_s = structs
.field_by_name("date")
.context("Missing 'date' field in price_history struct")?;
let date_ca = dates_s.str().context("price_history.date is not a string")?;
let date_ca = dates_s
.str()
.context("price_history.date is not a string")?;
let prices_s = structs
.field_by_name("price")
.context("Missing 'price' field in price_history struct")?;
let prices_i64 = prices_s
.cast(&DataType::Int64)
.context("price_history.price is not castable to Int64")?;
let price_ca = prices_i64.i64().context("price_history.price is not Int64")?;
let price_ca = prices_i64
.i64()
.context("price_history.price is not Int64")?;
let reasons_s = structs
.field_by_name("reason")
.context("Missing 'reason' field in price_history struct")?;

View file

@ -125,7 +125,6 @@ async fn static_cache_headers(
response
}
async fn security_headers(
request: axum::extract::Request,
next: middleware::Next,