diff --git a/api/src/latest.rs b/api/src/latest.rs index b1e5c73d..48ccfda7 100644 --- a/api/src/latest.rs +++ b/api/src/latest.rs @@ -7,7 +7,7 @@ pub struct LatestElem { value: f32, timestamp: DateTime, station_id: i32, - loc: Location, + loc: Option, } pub async fn get_latest(