This commit is contained in:
Andras Schmelczer 2026-02-07 19:19:17 +00:00
parent 77e01776f5
commit a9717d570d
5 changed files with 28 additions and 10 deletions

View file

@ -72,7 +72,10 @@ pub fn parse_bounds(bounds_str: &str) -> Result<(f64, f64, f64, f64), (StatusCod
if south > north {
return Err((
StatusCode::BAD_REQUEST,
format!("Invalid bounds: south ({}) must be <= north ({})", south, north),
format!(
"Invalid bounds: south ({}) must be <= north ({})",
south, north
),
));
}
if west > east {